aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2007-07-29 17:42:20 +0000
committerJohn Crispin <john@openwrt.org>2007-07-29 17:42:20 +0000
commit867c2c936c88d808cd6c471564549da8660943f1 (patch)
treeb57bfdee8bd43b4aee86185320e9d8e0598e7202 /target
parent5a326c97841226b5addd4de3570b1692282320e1 (diff)
downloadupstream-867c2c936c88d808cd6c471564549da8660943f1.tar.gz
upstream-867c2c936c88d808cd6c471564549da8660943f1.tar.bz2
upstream-867c2c936c88d808cd6c471564549da8660943f1.zip
improved au1000 usb patch
SVN-Revision: 8218
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 );