summaryrefslogtreecommitdiff
path: root/target/linux/adm5120-2.6/files/drivers
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-14 11:59:31 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-14 11:59:31 +0000
commit5da973430ee902e017d204f59dbf1a983dc1a3e8 (patch)
treee25963dcf01a84d5e6ec73f7cc32b073ff477f79 /target/linux/adm5120-2.6/files/drivers
parenteb12a445c6e6708f497b18efd8590e3ecd6f4bec (diff)
Fix memory detection and hcd compilation, thanks Gabor ! (closes #1813)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7631 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6/files/drivers')
-rw-r--r--target/linux/adm5120-2.6/files/drivers/usb/host/adm5120-hcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/adm5120-2.6/files/drivers/usb/host/adm5120-hcd.c b/target/linux/adm5120-2.6/files/drivers/usb/host/adm5120-hcd.c
index a9d0071dfa..87bfcc6c72 100644
--- a/target/linux/adm5120-2.6/files/drivers/usb/host/adm5120-hcd.c
+++ b/target/linux/adm5120-2.6/files/drivers/usb/host/adm5120-hcd.c
@@ -833,6 +833,7 @@ static int __init adm5120hcd_init(void)
if (!adm5120_board.has_usb) {
printk(KERN_DEBUG PFX "this board does not have USB\n");
return -ENODEV;
+ }
printk(KERN_INFO PFX "registered\n");
return platform_driver_register(&adm5120hcd_driver);