don't use mips_machgroup

SVN-Revision: 10328
lede-17.01
Gabor Juhos 2008-01-30 14:06:59 +00:00
parent c7e43709f4
commit 9bfca5ce18
5 changed files with 1 additions and 14 deletions

View File

@ -264,7 +264,6 @@ void __init prom_putchar(char ch)
void __init prom_init(void) void __init prom_init(void)
{ {
mips_machgroup = MACH_GROUP_ADM5120;
prom_detect_machtype(); prom_detect_machtype();
prom_init_cmdline(); prom_init_cmdline();

View File

@ -186,10 +186,6 @@ static int __init watchdog_init(void)
{ {
int ret; int ret;
/* There should be check for ADM5120 */
if (mips_machgroup != MACH_GROUP_ADM5120)
return -1;
ret = misc_register(&wdt_miscdev); ret = misc_register(&wdt_miscdev);
if (ret) if (ret)

View File

@ -327,11 +327,6 @@ adm5120_leds_init(void)
struct mach_data *mach; struct mach_data *mach;
int i, ret; int i, ret;
if (mips_machgroup != MACH_GROUP_ADM5120) {
ret = -EINVAL;
goto err;
}
mach = adm5120_leds_findmach(mips_machtype); mach = adm5120_leds_findmach(mips_machtype);
if (mach == NULL) { if (mach == NULL) {
printk(KERN_ERR "leds-adm5120: unsupported board\n"); printk(KERN_ERR "leds-adm5120: unsupported board\n");

View File

@ -188,9 +188,6 @@ static int usb_hcd_adm5120_probe(struct platform_device *pdev)
{ {
int ret; int ret;
if (mips_machgroup != MACH_GROUP_ADM5120)
return -ENODEV;
ret = admhc_adm5120_probe(&adm5120_hc_driver, pdev); ret = admhc_adm5120_probe(&adm5120_hc_driver, pdev);
return ret; return ret;

View File

@ -45,7 +45,7 @@
#include "../core/hcd.h" #include "../core/hcd.h"
#include "../core/hub.h" #include "../core/hub.h"
#define DRIVER_VERSION "0.16.2" #define DRIVER_VERSION "0.16.3"
#define DRIVER_AUTHOR "Gabor Juhos <juhosg at openwrt.org>" #define DRIVER_AUTHOR "Gabor Juhos <juhosg at openwrt.org>"
#define DRIVER_DESC "ADMtek USB 1.1 Host Controller Driver" #define DRIVER_DESC "ADMtek USB 1.1 Host Controller Driver"