X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/9fe061d4a72b5385b469867ba58b9fd40151278c..3329b43e7655951c4b496eb7c24b2af096fcbef7:/target/linux/adm5120/files/drivers/usb/host/adm5120-drv.c diff --git a/target/linux/adm5120/files/drivers/usb/host/adm5120-drv.c b/target/linux/adm5120/files/drivers/usb/host/adm5120-drv.c index 02c80f3fd..5aa90d670 100644 --- a/target/linux/adm5120/files/drivers/usb/host/adm5120-drv.c +++ b/target/linux/adm5120/files/drivers/usb/host/adm5120-drv.c @@ -1,7 +1,7 @@ /* * ADM5120 HCD (Host Controller Driver) for USB * - * Copyright (C) 2007,2008 Gabor Juhos + * Copyright (C) 2007-2008 Gabor Juhos * * This file was derived from: drivers/usb/host/ohci-au1xxx.c * (C) Copyright 1999 Roman Weissgaerber @@ -26,7 +26,7 @@ #include #include -#include +#include #ifdef DEBUG #define HCD_DBG(f, a...) printk(KERN_DEBUG "%s: " f, hcd_name, ## a) @@ -114,7 +114,7 @@ static void admhc_adm5120_remove(struct usb_hcd *hcd, static int __devinit admhc_adm5120_start(struct usb_hcd *hcd) { - struct admhcd *ahcd = hcd_to_admhcd (hcd); + struct admhcd *ahcd = hcd_to_admhcd(hcd); int ret; ret = admhc_init(ahcd); @@ -174,7 +174,6 @@ static const struct hc_driver adm5120_hc_driver = { */ .hub_status_data = admhc_hub_status_data, .hub_control = admhc_hub_control, - .hub_irq_enable = admhc_hub_irq_enable, #ifdef CONFIG_PM .bus_suspend = admhc_bus_suspend, .bus_resume = admhc_bus_resume, @@ -188,9 +187,6 @@ static int usb_hcd_adm5120_probe(struct platform_device *pdev) { int ret; - if (mips_machgroup != MACH_GROUP_ADM5120) - return -ENODEV; - ret = admhc_adm5120_probe(&adm5120_hc_driver, pdev); return ret;