summaryrefslogtreecommitdiff
path: root/drivers/usb/r8a66597-hcd.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-08-11 09:16:25 -0500
committerWolfgang Denk <wd@denx.de>2008-08-12 00:00:03 +0200
commit3cf8a234b8e8c02e4da1f23566043bc288b05220 (patch)
tree59843f0290a5718ee7f405f477a3fecaf33333f8 /drivers/usb/r8a66597-hcd.c
parent2d0daa03612338a813e3c9d22680e54eabfea378 (diff)
downloadu-boot-imx-3cf8a234b8e8c02e4da1f23566043bc288b05220.zip
u-boot-imx-3cf8a234b8e8c02e4da1f23566043bc288b05220.tar.gz
u-boot-imx-3cf8a234b8e8c02e4da1f23566043bc288b05220.tar.bz2
Fix compile error related to r8a66597-hcd & usb
When building the 8544DS board we get this error: In file included from r8a66597-hcd.c:22: u-boot/include/usb.h:190:2: error: #error USB Lowlevel not defined make[1]: *** [r8a66597-hcd.o] Error 1 The cleanest fix is to only build r8a66597-hcd.c if CONFIG_USB_R8A66597_HCD is set. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/usb/r8a66597-hcd.c')
-rw-r--r--drivers/usb/r8a66597-hcd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/r8a66597-hcd.c b/drivers/usb/r8a66597-hcd.c
index 3eb4cb0..0d3931e 100644
--- a/drivers/usb/r8a66597-hcd.c
+++ b/drivers/usb/r8a66597-hcd.c
@@ -24,8 +24,6 @@
#include "r8a66597.h"
-#if defined(CONFIG_USB_R8A66597_HCD)
-
#ifdef R8A66597_DEBUG
#define R8A66597_DPRINT printf
#else
@@ -919,6 +917,3 @@ int usb_lowlevel_stop(void)
return 0;
}
-
-#endif /* CONFIG_USB_R8A66597_HCD */
-