blob: 7a1919ca543a00022f0b515da075ddff9060db88 [file] [log] [blame]
Ben Dooks3eb0c5f2005-07-29 12:18:03 -07001/*
2 * OHCI HCD (Host Controller Driver) for USB.
3 *
4 * (C) Copyright 1999 Roman Weissgaerber <weissg@vienna.at>
5 * (C) Copyright 2000-2002 David Brownell <dbrownell@users.sourceforge.net>
6 * (C) Copyright 2002 Hewlett-Packard Company
7 *
8 * USB Bus Glue for Samsung S3C2410
9 *
10 * Written by Christopher Hoover <ch@hpl.hp.com>
Uwe Kleine-Königac310bb2008-07-10 17:30:46 -070011 * Based on fragments of previous driver by Russell King et al.
Ben Dooks3eb0c5f2005-07-29 12:18:03 -070012 *
13 * Modified for S3C2410 from ohci-sa1111.c, ohci-omap.c and ohci-lh7a40.c
14 * by Ben Dooks, <ben@simtec.co.uk>
15 * Copyright (C) 2004 Simtec Electronics
16 *
17 * Thanks to basprog@mail.ru for updates to newer kernels
18 *
19 * This file is licenced under the GPL.
20*/
21
Russell Kingf8ce2542006-01-07 16:15:52 +000022#include <linux/clk.h>
Manjunath Goudarf23b71f2013-09-21 16:38:43 +053023#include <linux/io.h>
24#include <linux/kernel.h>
25#include <linux/module.h>
26#include <linux/platform_device.h>
Arnd Bergmann436d42c2012-08-24 15:22:12 +020027#include <linux/platform_data/usb-ohci-s3c2410.h>
Manjunath Goudarf23b71f2013-09-21 16:38:43 +053028#include <linux/usb.h>
29#include <linux/usb/hcd.h>
30
31#include "ohci.h"
32
Ben Dooks3eb0c5f2005-07-29 12:18:03 -070033
34#define valid_port(idx) ((idx) == 1 || (idx) == 2)
35
36/* clock device associated with the hcd */
37
Manjunath Goudarf23b71f2013-09-21 16:38:43 +053038
39#define DRIVER_DESC "OHCI S3C2410 driver"
40
41static const char hcd_name[] = "ohci-s3c2410";
42
Ben Dooks3eb0c5f2005-07-29 12:18:03 -070043static struct clk *clk;
Ben Dooks3799c402006-04-02 01:45:00 +010044static struct clk *usb_clk;
Ben Dooks3eb0c5f2005-07-29 12:18:03 -070045
46/* forward definitions */
47
48static void s3c2410_hcd_oc(struct s3c2410_hcd_info *info, int port_oc);
49
50/* conversion functions */
51
Ben Dooksf096e042006-03-21 22:54:47 +000052static struct s3c2410_hcd_info *to_s3c2410_info(struct usb_hcd *hcd)
Ben Dooks3eb0c5f2005-07-29 12:18:03 -070053{
Jingoo Hand4f09e22013-07-30 19:59:40 +090054 return dev_get_platdata(hcd->self.controller);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -070055}
56
57static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd)
58{
Jingoo Hand4f09e22013-07-30 19:59:40 +090059 struct s3c2410_hcd_info *info = dev_get_platdata(&dev->dev);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -070060
61 dev_dbg(&dev->dev, "s3c2410_start_hc:\n");
Ben Dooks3799c402006-04-02 01:45:00 +010062
Tomasz Figad0127f62013-08-26 02:00:37 +090063 clk_prepare_enable(usb_clk);
Ben Dooks3799c402006-04-02 01:45:00 +010064 mdelay(2); /* let the bus clock stabilise */
65
Tomasz Figad0127f62013-08-26 02:00:37 +090066 clk_prepare_enable(clk);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -070067
68 if (info != NULL) {
69 info->hcd = hcd;
70 info->report_oc = s3c2410_hcd_oc;
71
Jingoo Han7af85a82011-05-04 16:45:47 +090072 if (info->enable_oc != NULL)
Ben Dooks3eb0c5f2005-07-29 12:18:03 -070073 (info->enable_oc)(info, 1);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -070074 }
75}
76
77static void s3c2410_stop_hc(struct platform_device *dev)
78{
Jingoo Hand4f09e22013-07-30 19:59:40 +090079 struct s3c2410_hcd_info *info = dev_get_platdata(&dev->dev);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -070080
81 dev_dbg(&dev->dev, "s3c2410_stop_hc:\n");
82
83 if (info != NULL) {
84 info->report_oc = NULL;
85 info->hcd = NULL;
86
Jingoo Han7af85a82011-05-04 16:45:47 +090087 if (info->enable_oc != NULL)
Ben Dooks3eb0c5f2005-07-29 12:18:03 -070088 (info->enable_oc)(info, 0);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -070089 }
90
Tomasz Figad0127f62013-08-26 02:00:37 +090091 clk_disable_unprepare(clk);
92 clk_disable_unprepare(usb_clk);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -070093}
94
95/* ohci_s3c2410_hub_status_data
96 *
97 * update the status data from the hub with anything that
98 * has been detected by our system
99*/
100
101static int
Jingoo Han7af85a82011-05-04 16:45:47 +0900102ohci_s3c2410_hub_status_data(struct usb_hcd *hcd, char *buf)
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700103{
104 struct s3c2410_hcd_info *info = to_s3c2410_info(hcd);
105 struct s3c2410_hcd_port *port;
106 int orig;
107 int portno;
108
Laurent Pinchart42b59eb2014-04-16 18:00:09 +0200109 orig = ohci_hub_status_data(hcd, buf);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700110
111 if (info == NULL)
112 return orig;
113
114 port = &info->port[0];
115
116 /* mark any changed port as changed */
117
118 for (portno = 0; portno < 2; port++, portno++) {
119 if (port->oc_changed == 1 &&
120 port->flags & S3C_HCDFLG_USED) {
121 dev_dbg(hcd->self.controller,
122 "oc change on port %d\n", portno);
123
124 if (orig < 1)
125 orig = 1;
126
127 buf[0] |= 1<<(portno+1);
128 }
129 }
130
131 return orig;
132}
133
134/* s3c2410_usb_set_power
135 *
136 * configure the power on a port, by calling the platform device
137 * routine registered with the platform device
138*/
139
140static void s3c2410_usb_set_power(struct s3c2410_hcd_info *info,
141 int port, int to)
142{
143 if (info == NULL)
144 return;
145
146 if (info->power_control != NULL) {
147 info->port[port-1].power = to;
Ben Dooksba44e7c2005-08-09 15:04:00 +0100148 (info->power_control)(port-1, to);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700149 }
150}
151
152/* ohci_s3c2410_hub_control
153 *
154 * look at control requests to the hub, and see if we need
155 * to take any action or over-ride the results from the
156 * request.
157*/
158
Jingoo Han7af85a82011-05-04 16:45:47 +0900159static int ohci_s3c2410_hub_control(
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700160 struct usb_hcd *hcd,
161 u16 typeReq,
162 u16 wValue,
163 u16 wIndex,
164 char *buf,
165 u16 wLength)
166{
167 struct s3c2410_hcd_info *info = to_s3c2410_info(hcd);
168 struct usb_hub_descriptor *desc;
169 int ret = -EINVAL;
170 u32 *data = (u32 *)buf;
171
172 dev_dbg(hcd->self.controller,
173 "s3c2410_hub_control(%p,0x%04x,0x%04x,0x%04x,%p,%04x)\n",
174 hcd, typeReq, wValue, wIndex, buf, wLength);
175
Alexey Dobriyan7f927fc2006-03-28 01:56:53 -0800176 /* if we are only an humble host without any special capabilities
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700177 * process the request straight away and exit */
178
179 if (info == NULL) {
Laurent Pinchart42b59eb2014-04-16 18:00:09 +0200180 ret = ohci_hub_control(hcd, typeReq, wValue,
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700181 wIndex, buf, wLength);
182 goto out;
183 }
184
185 /* check the request to see if it needs handling */
186
187 switch (typeReq) {
188 case SetPortFeature:
189 if (wValue == USB_PORT_FEAT_POWER) {
190 dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n");
191 s3c2410_usb_set_power(info, wIndex, 1);
192 goto out;
193 }
194 break;
195
196 case ClearPortFeature:
197 switch (wValue) {
198 case USB_PORT_FEAT_C_OVER_CURRENT:
199 dev_dbg(hcd->self.controller,
200 "ClearPortFeature: C_OVER_CURRENT\n");
201
202 if (valid_port(wIndex)) {
203 info->port[wIndex-1].oc_changed = 0;
204 info->port[wIndex-1].oc_status = 0;
205 }
206
207 goto out;
208
209 case USB_PORT_FEAT_OVER_CURRENT:
210 dev_dbg(hcd->self.controller,
211 "ClearPortFeature: OVER_CURRENT\n");
212
Jingoo Han7af85a82011-05-04 16:45:47 +0900213 if (valid_port(wIndex))
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700214 info->port[wIndex-1].oc_status = 0;
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700215
216 goto out;
217
218 case USB_PORT_FEAT_POWER:
219 dev_dbg(hcd->self.controller,
220 "ClearPortFeature: POWER\n");
221
222 if (valid_port(wIndex)) {
223 s3c2410_usb_set_power(info, wIndex, 0);
224 return 0;
225 }
226 }
227 break;
228 }
229
Laurent Pinchart42b59eb2014-04-16 18:00:09 +0200230 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700231 if (ret)
232 goto out;
233
234 switch (typeReq) {
235 case GetHubDescriptor:
236
237 /* update the hub's descriptor */
238
239 desc = (struct usb_hub_descriptor *)buf;
240
241 if (info->power_control == NULL)
242 return ret;
243
244 dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n",
245 desc->wHubCharacteristics);
246
247 /* remove the old configurations for power-switching, and
248 * over-current protection, and insert our new configuration
249 */
250
251 desc->wHubCharacteristics &= ~cpu_to_le16(HUB_CHAR_LPSM);
Sergei Shtylyovdd709762015-01-19 01:44:12 +0300252 desc->wHubCharacteristics |= cpu_to_le16(
253 HUB_CHAR_INDV_PORT_LPSM);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700254
255 if (info->enable_oc) {
Jingoo Han7af85a82011-05-04 16:45:47 +0900256 desc->wHubCharacteristics &= ~cpu_to_le16(
257 HUB_CHAR_OCPM);
258 desc->wHubCharacteristics |= cpu_to_le16(
Sergei Shtylyovdd709762015-01-19 01:44:12 +0300259 HUB_CHAR_INDV_PORT_OCPM);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700260 }
261
262 dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n",
263 desc->wHubCharacteristics);
264
265 return ret;
266
267 case GetPortStatus:
268 /* check port status */
269
270 dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex);
271
272 if (valid_port(wIndex)) {
Jingoo Han7af85a82011-05-04 16:45:47 +0900273 if (info->port[wIndex-1].oc_changed)
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700274 *data |= cpu_to_le32(RH_PS_OCIC);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700275
Jingoo Han7af85a82011-05-04 16:45:47 +0900276 if (info->port[wIndex-1].oc_status)
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700277 *data |= cpu_to_le32(RH_PS_POCI);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700278 }
279 }
280
281 out:
282 return ret;
283}
284
285/* s3c2410_hcd_oc
286 *
287 * handle an over-current report
288*/
289
290static void s3c2410_hcd_oc(struct s3c2410_hcd_info *info, int port_oc)
291{
292 struct s3c2410_hcd_port *port;
293 struct usb_hcd *hcd;
294 unsigned long flags;
295 int portno;
296
297 if (info == NULL)
298 return;
299
300 port = &info->port[0];
301 hcd = info->hcd;
302
303 local_irq_save(flags);
304
305 for (portno = 0; portno < 2; port++, portno++) {
306 if (port_oc & (1<<portno) &&
307 port->flags & S3C_HCDFLG_USED) {
308 port->oc_status = 1;
309 port->oc_changed = 1;
310
311 /* ok, once over-current is detected,
312 the port needs to be powered down */
313 s3c2410_usb_set_power(info, portno+1, 0);
314 }
315 }
316
317 local_irq_restore(flags);
318}
319
320/* may be called without controller electrically present */
321/* may be called with controller, bus, and devices active */
322
323/*
324 * usb_hcd_s3c2410_remove - shutdown processing for HCD
325 * @dev: USB Host Controller being removed
326 * Context: !in_interrupt()
327 *
328 * Reverses the effect of usb_hcd_3c2410_probe(), first invoking
329 * the HCD's stop() method. It is always called from a thread
330 * context, normally "rmmod", "apmd", or something similar.
331 *
332*/
333
Ben Dooksf096e042006-03-21 22:54:47 +0000334static void
Jingoo Han7af85a82011-05-04 16:45:47 +0900335usb_hcd_s3c2410_remove(struct usb_hcd *hcd, struct platform_device *dev)
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700336{
337 usb_remove_hcd(hcd);
338 s3c2410_stop_hc(dev);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700339 usb_put_hcd(hcd);
340}
341
342/**
343 * usb_hcd_s3c2410_probe - initialize S3C2410-based HCDs
344 * Context: !in_interrupt()
345 *
346 * Allocates basic resources for this USB host controller, and
347 * then invokes the start() method for the HCD associated with it
348 * through the hotplug entry's driver_data.
349 *
350 */
Jingoo Han7af85a82011-05-04 16:45:47 +0900351static int usb_hcd_s3c2410_probe(const struct hc_driver *driver,
Ben Dooksf096e042006-03-21 22:54:47 +0000352 struct platform_device *dev)
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700353{
354 struct usb_hcd *hcd = NULL;
Jingoo Hand4f09e22013-07-30 19:59:40 +0900355 struct s3c2410_hcd_info *info = dev_get_platdata(&dev->dev);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700356 int retval;
357
Jingoo Hand4f09e22013-07-30 19:59:40 +0900358 s3c2410_usb_set_power(info, 1, 1);
359 s3c2410_usb_set_power(info, 2, 1);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700360
361 hcd = usb_create_hcd(driver, &dev->dev, "s3c24xx");
362 if (hcd == NULL)
363 return -ENOMEM;
364
365 hcd->rsrc_start = dev->resource[0].start;
Jingoo Han3c86c072011-04-14 21:09:16 +0900366 hcd->rsrc_len = resource_size(&dev->resource[0]);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700367
Thierry Reding148e1132013-01-21 11:09:22 +0100368 hcd->regs = devm_ioremap_resource(&dev->dev, &dev->resource[0]);
369 if (IS_ERR(hcd->regs)) {
370 retval = PTR_ERR(hcd->regs);
Ben Dooks3799c402006-04-02 01:45:00 +0100371 goto err_put;
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700372 }
373
Jingoo Han801f0062012-10-08 11:28:25 +0900374 clk = devm_clk_get(&dev->dev, "usb-host");
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700375 if (IS_ERR(clk)) {
376 dev_err(&dev->dev, "cannot get usb-host clock\n");
Jingoo Han69248d42011-05-05 08:46:07 +0900377 retval = PTR_ERR(clk);
Jingoo Han801f0062012-10-08 11:28:25 +0900378 goto err_put;
Ben Dooks3799c402006-04-02 01:45:00 +0100379 }
380
Jingoo Han801f0062012-10-08 11:28:25 +0900381 usb_clk = devm_clk_get(&dev->dev, "usb-bus-host");
Ben Dooks3799c402006-04-02 01:45:00 +0100382 if (IS_ERR(usb_clk)) {
Ben Dooks2dfa3192009-02-26 23:03:15 +0000383 dev_err(&dev->dev, "cannot get usb-bus-host clock\n");
Jingoo Han69248d42011-05-05 08:46:07 +0900384 retval = PTR_ERR(usb_clk);
Jingoo Han801f0062012-10-08 11:28:25 +0900385 goto err_put;
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700386 }
387
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700388 s3c2410_start_hc(dev, hcd);
389
Yong Zhangb5dd18d2011-09-07 16:10:52 +0800390 retval = usb_add_hcd(hcd, dev->resource[1].start, 0);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700391 if (retval != 0)
Ben Dooks3799c402006-04-02 01:45:00 +0100392 goto err_ioremap;
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700393
Peter Chen3c9740a2013-11-05 10:46:02 +0800394 device_wakeup_enable(hcd->self.controller);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700395 return 0;
396
Ben Dooks3799c402006-04-02 01:45:00 +0100397 err_ioremap:
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700398 s3c2410_stop_hc(dev);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700399
Ben Dooks3799c402006-04-02 01:45:00 +0100400 err_put:
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700401 usb_put_hcd(hcd);
402 return retval;
403}
404
405/*-------------------------------------------------------------------------*/
406
Manjunath Goudarf23b71f2013-09-21 16:38:43 +0530407static struct hc_driver __read_mostly ohci_s3c2410_hc_driver;
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700408
Bill Pemberton41ac7b32012-11-19 13:21:48 -0500409static int ohci_hcd_s3c2410_drv_probe(struct platform_device *pdev)
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700410{
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700411 return usb_hcd_s3c2410_probe(&ohci_s3c2410_hc_driver, pdev);
412}
413
Bill Pembertonfb4e98a2012-11-19 13:26:20 -0500414static int ohci_hcd_s3c2410_drv_remove(struct platform_device *pdev)
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700415{
Russell King3ae5eae2005-11-09 22:32:44 +0000416 struct usb_hcd *hcd = platform_get_drvdata(pdev);
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700417
418 usb_hcd_s3c2410_remove(hcd, pdev);
419 return 0;
420}
421
Jingoo Hanb870def2011-11-28 15:56:06 +0900422#ifdef CONFIG_PM
423static int ohci_hcd_s3c2410_drv_suspend(struct device *dev)
424{
425 struct usb_hcd *hcd = dev_get_drvdata(dev);
Jingoo Hanb870def2011-11-28 15:56:06 +0900426 struct platform_device *pdev = to_platform_device(dev);
Majunath Goudar0ded36d2013-11-13 17:40:18 +0530427 bool do_wakeup = device_may_wakeup(dev);
Jingoo Hanb870def2011-11-28 15:56:06 +0900428 int rc = 0;
429
Majunath Goudar0ded36d2013-11-13 17:40:18 +0530430 rc = ohci_suspend(hcd, do_wakeup);
431 if (rc)
432 return rc;
Jingoo Hanb870def2011-11-28 15:56:06 +0900433
434 s3c2410_stop_hc(pdev);
Jingoo Hanb870def2011-11-28 15:56:06 +0900435
436 return rc;
437}
438
439static int ohci_hcd_s3c2410_drv_resume(struct device *dev)
440{
441 struct usb_hcd *hcd = dev_get_drvdata(dev);
442 struct platform_device *pdev = to_platform_device(dev);
443
444 s3c2410_start_hc(pdev, hcd);
445
Florian Fainellicfa49b42012-10-08 15:11:29 +0200446 ohci_resume(hcd, false);
Jingoo Hanb870def2011-11-28 15:56:06 +0900447
448 return 0;
449}
450#else
451#define ohci_hcd_s3c2410_drv_suspend NULL
452#define ohci_hcd_s3c2410_drv_resume NULL
453#endif
454
455static const struct dev_pm_ops ohci_hcd_s3c2410_pm_ops = {
456 .suspend = ohci_hcd_s3c2410_drv_suspend,
457 .resume = ohci_hcd_s3c2410_drv_resume,
458};
459
Russell King3ae5eae2005-11-09 22:32:44 +0000460static struct platform_driver ohci_hcd_s3c2410_driver = {
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700461 .probe = ohci_hcd_s3c2410_drv_probe,
Bill Pemberton76904172012-11-19 13:21:08 -0500462 .remove = ohci_hcd_s3c2410_drv_remove,
David Brownelldd9048a2006-12-05 03:18:31 -0800463 .shutdown = usb_hcd_platform_shutdown,
Russell King3ae5eae2005-11-09 22:32:44 +0000464 .driver = {
Russell King3ae5eae2005-11-09 22:32:44 +0000465 .name = "s3c2410-ohci",
Jingoo Hanb870def2011-11-28 15:56:06 +0900466 .pm = &ohci_hcd_s3c2410_pm_ops,
Russell King3ae5eae2005-11-09 22:32:44 +0000467 },
Ben Dooks3eb0c5f2005-07-29 12:18:03 -0700468};
469
Manjunath Goudarf23b71f2013-09-21 16:38:43 +0530470static int __init ohci_s3c2410_init(void)
471{
472 if (usb_disabled())
473 return -ENODEV;
474
475 pr_info("%s: " DRIVER_DESC "\n", hcd_name);
476 ohci_init_driver(&ohci_s3c2410_hc_driver, NULL);
477
478 /*
479 * The Samsung HW has some unusual quirks, which require
480 * Sumsung-specific workarounds. We override certain hc_driver
481 * functions here to achieve that. We explicitly do not enhance
482 * ohci_driver_overrides to allow this more easily, since this
483 * is an unusual case, and we don't want to encourage others to
484 * override these functions by making it too easy.
485 */
486
Manjunath Goudarf23b71f2013-09-21 16:38:43 +0530487 ohci_s3c2410_hc_driver.hub_status_data = ohci_s3c2410_hub_status_data;
488 ohci_s3c2410_hc_driver.hub_control = ohci_s3c2410_hub_control;
489
490 return platform_driver_register(&ohci_hcd_s3c2410_driver);
491}
492module_init(ohci_s3c2410_init);
493
494static void __exit ohci_s3c2410_cleanup(void)
495{
496 platform_driver_unregister(&ohci_hcd_s3c2410_driver);
497}
498module_exit(ohci_s3c2410_cleanup);
499
500MODULE_DESCRIPTION(DRIVER_DESC);
501MODULE_LICENSE("GPL");
Kay Sieversf4fce612008-04-10 21:29:22 -0700502MODULE_ALIAS("platform:s3c2410-ohci");