aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authoryuan linyu <Linyu.Yuan@alcatel-sbell.com.cn>2017-02-25 06:20:55 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-17 00:16:56 -0400
commit2c93e790e8253552227bf9b46a8d49dca3f71b06 (patch)
tree961f5458083caf979a495c9de18402c0e8f681b3 /include/linux/usb
parentb5a6a4e5baeff6a20a5c5e8711d8b08658efacbb (diff)
usb: add CONFIG_USB_PCI for system have both PCI HW and non-PCI based USB HW
a lot of embeded system SOC (e.g. freescale T2080) have both PCI and USB modules. But USB module is controlled by registers directly, it have no relationship with PCI module. when say N here it will not build PCI related code in USB driver. Signed-off-by: yuan linyu <Linyu.Yuan@alcatel-sbell.com.cn> Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/hcd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h
index 40edf6a8533e..dff130151235 100644
--- a/include/linux/usb/hcd.h
+++ b/include/linux/usb/hcd.h
@@ -453,7 +453,7 @@ extern int usb_hcd_find_raw_port_number(struct usb_hcd *hcd, int port1);
453struct platform_device; 453struct platform_device;
454extern void usb_hcd_platform_shutdown(struct platform_device *dev); 454extern void usb_hcd_platform_shutdown(struct platform_device *dev);
455 455
456#ifdef CONFIG_PCI 456#ifdef CONFIG_USB_PCI
457struct pci_dev; 457struct pci_dev;
458struct pci_device_id; 458struct pci_device_id;
459extern int usb_hcd_pci_probe(struct pci_dev *dev, 459extern int usb_hcd_pci_probe(struct pci_dev *dev,
@@ -466,7 +466,7 @@ extern int usb_hcd_amd_remote_wakeup_quirk(struct pci_dev *dev);
466#ifdef CONFIG_PM 466#ifdef CONFIG_PM
467extern const struct dev_pm_ops usb_hcd_pci_pm_ops; 467extern const struct dev_pm_ops usb_hcd_pci_pm_ops;
468#endif 468#endif
469#endif /* CONFIG_PCI */ 469#endif /* CONFIG_USB_PCI */
470 470
471/* pci-ish (pdev null is ok) buffer alloc/mapping support */ 471/* pci-ish (pdev null is ok) buffer alloc/mapping support */
472void usb_init_pool_max(void); 472void usb_init_pool_max(void);