From: John Crispin Date: Sun, 29 Jul 2007 17:42:20 +0000 (+0000) Subject: improved au1000 usb patch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0a7cb409fbed950b3c85974872ed20778ba63ff4;p=openwrt%2Fsvn-archive%2Farchive.git improved au1000 usb patch SVN-Revision: 8218 --- 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 );