Fix compile error related to r8a66597-hcd & usb
authorKumar Gala <galak@kernel.crashing.org>
Mon, 11 Aug 2008 14:16:25 +0000 (09:16 -0500)
committerWolfgang Denk <wd@denx.de>
Mon, 11 Aug 2008 22:00:03 +0000 (00:00 +0200)
commit3cf8a234b8e8c02e4da1f23566043bc288b05220
tree59843f0290a5718ee7f405f477a3fecaf33333f8
parent2d0daa03612338a813e3c9d22680e54eabfea378
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>
drivers/usb/Makefile
drivers/usb/r8a66597-hcd.c