From 59dc59994cc0f7837e5cb8a6982d7cef06e5ce87 Mon Sep 17 00:00:00 2001 From: juhosg Date: Wed, 30 Jan 2008 14:06:59 +0000 Subject: [adm5120] don't use mips_machgroup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10328 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/adm5120/files/drivers/char/watchdog/adm5120_wdt.c | 4 ---- target/linux/adm5120/files/drivers/leds/leds-adm5120.c | 5 ----- target/linux/adm5120/files/drivers/usb/host/adm5120-drv.c | 3 --- target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c | 2 +- 4 files changed, 1 insertion(+), 13 deletions(-) (limited to 'target/linux/adm5120/files/drivers') diff --git a/target/linux/adm5120/files/drivers/char/watchdog/adm5120_wdt.c b/target/linux/adm5120/files/drivers/char/watchdog/adm5120_wdt.c index 2439fbc7f..cddb1721c 100644 --- a/target/linux/adm5120/files/drivers/char/watchdog/adm5120_wdt.c +++ b/target/linux/adm5120/files/drivers/char/watchdog/adm5120_wdt.c @@ -186,10 +186,6 @@ static int __init watchdog_init(void) { int ret; - /* There should be check for ADM5120 */ - if (mips_machgroup != MACH_GROUP_ADM5120) - return -1; - ret = misc_register(&wdt_miscdev); if (ret) diff --git a/target/linux/adm5120/files/drivers/leds/leds-adm5120.c b/target/linux/adm5120/files/drivers/leds/leds-adm5120.c index 95b90fa47..54783abfa 100644 --- a/target/linux/adm5120/files/drivers/leds/leds-adm5120.c +++ b/target/linux/adm5120/files/drivers/leds/leds-adm5120.c @@ -327,11 +327,6 @@ adm5120_leds_init(void) struct mach_data *mach; int i, ret; - if (mips_machgroup != MACH_GROUP_ADM5120) { - ret = -EINVAL; - goto err; - } - mach = adm5120_leds_findmach(mips_machtype); if (mach == NULL) { printk(KERN_ERR "leds-adm5120: unsupported board\n"); 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..ca7f8ef64 100644 --- a/target/linux/adm5120/files/drivers/usb/host/adm5120-drv.c +++ b/target/linux/adm5120/files/drivers/usb/host/adm5120-drv.c @@ -188,9 +188,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; diff --git a/target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c b/target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c index 42eb8f544..2d2604aa7 100644 --- a/target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c +++ b/target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c @@ -45,7 +45,7 @@ #include "../core/hcd.h" #include "../core/hub.h" -#define DRIVER_VERSION "0.16.2" +#define DRIVER_VERSION "0.16.3" #define DRIVER_AUTHOR "Gabor Juhos " #define DRIVER_DESC "ADMtek USB 1.1 Host Controller Driver" -- cgit v1.2.3