summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/sl811_cs.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2006-02-06 21:15:15 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-02-14 06:33:39 +0100
commita0c53f1dca10acc93462339cbd0bf24b10d60a13 (patch)
tree99b5e0d6bc58a0b38cfc98ee0c2b09049c5db462 /drivers/usb/host/sl811_cs.c
parent[PATCH] USB: PL2303: Leadtek 9531 GPS-Mouse (diff)
downloadlinux-a0c53f1dca10acc93462339cbd0bf24b10d60a13.tar.xz
linux-a0c53f1dca10acc93462339cbd0bf24b10d60a13.zip
[PATCH] USB: sl811_cs needs platform_device conversion too
The switchover to "platform_driver" from "device_driver" missed one rather essential usage, which broke the sl811_cs driver ... this resolves the omission. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/sl811_cs.c')
-rw-r--r--drivers/usb/host/sl811_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/sl811_cs.c b/drivers/usb/host/sl811_cs.c
index 466384d7c79f..134d2000128a 100644
--- a/drivers/usb/host/sl811_cs.c
+++ b/drivers/usb/host/sl811_cs.c
@@ -101,7 +101,7 @@ static struct resource resources[] = {
},
};
-extern struct device_driver sl811h_driver;
+extern struct platform_driver sl811h_driver;
static struct platform_device platform_dev = {
.id = -1,
@@ -132,7 +132,7 @@ static int sl811_hc_init(struct device *parent, ioaddr_t base_addr, int irq)
* initialized already because of the link order dependency created
* by referencing "sl811h_driver".
*/
- platform_dev.name = sl811h_driver.name;
+ platform_dev.name = sl811h_driver.driver.name;
return platform_device_register(&platform_dev);
}