aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2007-07-29 17:42:20 +0000
committerJohn Crispin <blogic@openwrt.org>2007-07-29 17:42:20 +0000
commit9fba3d6b8e616138355bf4e8c097d96b9ba5449e (patch)
treee8391477270164e662a831194d76f4ca145edb8d /target
parente0eb07ca652b814921b5c7aceabdaab931a2723e (diff)
downloadmaster-187ad058-9fba3d6b8e616138355bf4e8c097d96b9ba5449e.tar.gz
master-187ad058-9fba3d6b8e616138355bf4e8c097d96b9ba5449e.tar.bz2
master-187ad058-9fba3d6b8e616138355bf4e8c097d96b9ba5449e.zip
improved au1000 usb patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8218 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/au1000-2.6/patches/017-usb-power.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/au1000-2.6/patches/017-usb-power.patch b/target/linux/au1000-2.6/patches/017-usb-power.patch
index c9859c2585..7f7fac85bf 100644
--- a/target/linux/au1000-2.6/patches/017-usb-power.patch
+++ b/target/linux/au1000-2.6/patches/017-usb-power.patch
@@ -5,7 +5,7 @@
void __init board_setup(void)
{
-#ifdef CONFIG_USB_OHCI
-+#ifdef CONFIG_USB_OHCI_HCD || CONFIG_USB_OHCI_HCD_MODULE
++#if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)
// enable USB power switch
au_writel( au_readl(GPIO2_DIR) | 0x10, GPIO2_DIR );
au_writel( 0x100000, GPIO2_OUTPUT );