aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/hcd-pci.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-01-25 12:12:21 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-01 17:35:07 -0500
commit782e70c6fc2290a0395850e8e02583b8b62264d8 (patch)
tree455cb28ce894ba26d18011129c6bbdf59ed2879b /drivers/usb/core/hcd-pci.c
parent667d691ed7a70c9a9fde5b6bd663a5f38326e026 (diff)
USB: mark USB drivers as being GPL only
Over two years ago, the Linux USB developers stated that they believed there was no way to create a USB kernel driver that was not under the GPL. This patch moves the USB apis to enforce that decision. There are no known closed source USB drivers in the wild, so this patch should cause no problems. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/hcd-pci.c')
-rw-r--r--drivers/usb/core/hcd-pci.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c
index 424674203fd..851d5e1625d 100644
--- a/drivers/usb/core/hcd-pci.c
+++ b/drivers/usb/core/hcd-pci.c
@@ -144,7 +144,7 @@ int usb_hcd_pci_probe (struct pci_dev *dev, const struct pci_device_id *id)
144 dev_err (&dev->dev, "init %s fail, %d\n", pci_name(dev), retval); 144 dev_err (&dev->dev, "init %s fail, %d\n", pci_name(dev), retval);
145 return retval; 145 return retval;
146} 146}
147EXPORT_SYMBOL (usb_hcd_pci_probe); 147EXPORT_SYMBOL_GPL(usb_hcd_pci_probe);
148 148
149 149
150/* may be called without controller electrically present */ 150/* may be called without controller electrically present */
@@ -179,7 +179,7 @@ void usb_hcd_pci_remove (struct pci_dev *dev)
179 usb_put_hcd (hcd); 179 usb_put_hcd (hcd);
180 pci_disable_device(dev); 180 pci_disable_device(dev);
181} 181}
182EXPORT_SYMBOL (usb_hcd_pci_remove); 182EXPORT_SYMBOL_GPL(usb_hcd_pci_remove);
183 183
184 184
185#ifdef CONFIG_PM 185#ifdef CONFIG_PM
@@ -314,7 +314,7 @@ done:
314 314
315 return retval; 315 return retval;
316} 316}
317EXPORT_SYMBOL (usb_hcd_pci_suspend); 317EXPORT_SYMBOL_GPL(usb_hcd_pci_suspend);
318 318
319/** 319/**
320 * usb_hcd_pci_resume - power management resume of a PCI-based HCD 320 * usb_hcd_pci_resume - power management resume of a PCI-based HCD
@@ -416,7 +416,7 @@ int usb_hcd_pci_resume (struct pci_dev *dev)
416 416
417 return retval; 417 return retval;
418} 418}
419EXPORT_SYMBOL (usb_hcd_pci_resume); 419EXPORT_SYMBOL_GPL(usb_hcd_pci_resume);
420 420
421#endif /* CONFIG_PM */ 421#endif /* CONFIG_PM */
422 422
@@ -435,5 +435,5 @@ void usb_hcd_pci_shutdown (struct pci_dev *dev)
435 if (hcd->driver->shutdown) 435 if (hcd->driver->shutdown)
436 hcd->driver->shutdown(hcd); 436 hcd->driver->shutdown(hcd);
437} 437}
438EXPORT_SYMBOL (usb_hcd_pci_shutdown); 438EXPORT_SYMBOL_GPL(usb_hcd_pci_shutdown);
439 439