update usbdev_rk2928.c: fix compile error(rk30)
authorkfx <kfx@rock-chips.com>
Wed, 31 Oct 2012 03:25:48 +0000 (11:25 +0800)
committerkfx <kfx@rock-chips.com>
Wed, 31 Oct 2012 03:25:48 +0000 (11:25 +0800)
drivers/usb/dwc_otg/usbdev_rk2928.c

index 51c8aec42760eda55c3c830b60cf0d3b1a6bc568..1ac870749814318e6eb61cff585421174c8fd5b6 100755 (executable)
@@ -8,7 +8,9 @@
 #include <mach/gpio.h>\r
 #include <mach/iomux.h>\r
 #include <mach/cru.h>\r
+#ifdef CONFIG_RK_CONFIG\r
 #include <mach/config.h>\r
+#endif\r
 \r
 #include "usbdev_rk.h"\r
 #include "dwc_otg_regs.h"\r