Messages in this thread | | | From | David Laight <> | Subject | RE: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000 | Date | Wed, 25 Jun 2014 09:37:45 +0000 |
| |
From: Chen, Alvin > > On Tue, Jun 24, 2014 at 08:51:43AM -0700, Chen, Alvin wrote: > > > diff --git a/drivers/usb/host/pci-quirks.c > > > b/drivers/usb/host/pci-quirks.c index 00661d3..1ea8803 100644 > > > --- a/drivers/usb/host/pci-quirks.c > > > +++ b/drivers/usb/host/pci-quirks.c > > > @@ -823,6 +823,48 @@ static int handshake(void __iomem *ptr, u32 mask, > > u32 done, > > > return -ETIMEDOUT; > > > } > > > > > > +#define PCI_DEVICE_ID_INTEL_QUARK_X1000_SOC 0x0939 > > > +bool usb_is_intel_qrk(struct pci_dev *pdev) { > > > + return pdev->vendor == PCI_VENDOR_ID_INTEL && > > > + pdev->device == PCI_DEVICE_ID_INTEL_QUARK_X1000_SOC; > > > + > > > +} > > > +EXPORT_SYMBOL_GPL(usb_is_intel_qrk); > > > > There is no lack of vowels available to you, please use them. > > > > OK, I will change ' usb_is_intel_qrk ' to ' usb_is_intel_quark'.
Or even usb_is_intel_quark_x1000() ?
David
| |