Required to compile dwc_otg with newer 2.6.39 kernel
Prerequirements:
All Layne Edwards' dwc_otg patches applied.
Signed-off-by: Andrew 'Necromant' Andrianov <necrom...@necromant.ath.cx>
Regards,
Andrew
diff --git a/target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.c b/target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.c
index e3e3ee8..77e8a89 100644
--- a/target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.c
+++ b/target/linux/ramips/files/drivers/usb/dwc_otg/dwc_otg_hcd.c
@@ -52,6 +52,8 @@
#include <asm/mach-ralink/lm.h>
+#define bitmap u.hs.DeviceRemovable
+
#include "dwc_otg_driver.h"
#include "dwc_otg_hcd.h"
#include "dwc_otg_regs.h"
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel