summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-03-18 02:40:08 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-03-20 23:50:01 +0100
commitb712548c5d88f2e4672f8482c3904e8c5728dbf1 (patch)
treefcbfc07f2c753dbd931ee22ec0e0155a7819d5a2 /drivers/usb
parent[PATCH] USB: usbcore: usb_set_configuration oops (NULL ptr dereference) (diff)
downloadlinux-b712548c5d88f2e4672f8482c3904e8c5728dbf1.tar.xz
linux-b712548c5d88f2e4672f8482c3904e8c5728dbf1.zip
[PATCH] USB: fix initdata issue in isp116x-hcd
As found by Sam's scripts. Cc: Sam Ravnborg <sam@ravnborg.org> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/isp116x-hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/isp116x-hcd.c b/drivers/usb/host/isp116x-hcd.c
index fea5dcbec7c4..e99210b7909b 100644
--- a/drivers/usb/host/isp116x-hcd.c
+++ b/drivers/usb/host/isp116x-hcd.c
@@ -1552,7 +1552,7 @@ static struct hc_driver isp116x_hc_driver = {
/*----------------------------------------------------------------*/
-static int __init_or_module isp116x_remove(struct platform_device *pdev)
+static int isp116x_remove(struct platform_device *pdev)
{
struct usb_hcd *hcd = platform_get_drvdata(pdev);
struct isp116x *isp116x;