diff options
Diffstat (limited to 'drivers/usb/host/sl811_cs.c')
-rw-r--r-- | drivers/usb/host/sl811_cs.c | 4 |
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[] = { | |||
101 | }, | 101 | }, |
102 | }; | 102 | }; |
103 | 103 | ||
104 | extern struct device_driver sl811h_driver; | 104 | extern struct platform_driver sl811h_driver; |
105 | 105 | ||
106 | static struct platform_device platform_dev = { | 106 | static struct platform_device platform_dev = { |
107 | .id = -1, | 107 | .id = -1, |
@@ -132,7 +132,7 @@ static int sl811_hc_init(struct device *parent, ioaddr_t base_addr, int irq) | |||
132 | * initialized already because of the link order dependency created | 132 | * initialized already because of the link order dependency created |
133 | * by referencing "sl811h_driver". | 133 | * by referencing "sl811h_driver". |
134 | */ | 134 | */ |
135 | platform_dev.name = sl811h_driver.name; | 135 | platform_dev.name = sl811h_driver.driver.name; |
136 | return platform_device_register(&platform_dev); | 136 | return platform_device_register(&platform_dev); |
137 | } | 137 | } |
138 | 138 | ||