X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=target%2Flinux%2Fau1000-2.6%2Fpatches%2F017-usb-power.patch;h=7f7fac85bf6afd72396979c36c57c1365a3f7917;hp=c9859c2585a67924a3144dcf7bddfd57edda6b9f;hb=1827e880c771127160457eb24400770db7aa2f96;hpb=f1e8cfde7ab2bf0c7ee3d50d88fc4aa5d6d4fe41 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 c9859c258..7f7fac85b 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 );