summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoichi Yuasa <yuasa@linux-mips.org>2011-04-11 21:56:39 +0900
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-13 15:44:03 -0700
commit0fdf65c3394358a3634ad1064ea4984a03a6aa07 (patch)
tree393223a8590f692de0da61346536a240bd72c398
parent11a31d84129dc3133417d626643d714c9df5317e (diff)
downloadlinux-3.10-0fdf65c3394358a3634ad1064ea4984a03a6aa07.tar.gz
linux-3.10-0fdf65c3394358a3634ad1064ea4984a03a6aa07.tar.bz2
linux-3.10-0fdf65c3394358a3634ad1064ea4984a03a6aa07.zip
USB: ohci-au1xxx: fix warning "__BIG_ENDIAN" is not defined
In file included from drivers/usb/host/ohci-hcd.c:1028:0: drivers/usb/host/ohci-au1xxx.c:36:7: warning: "__BIG_ENDIAN" is not defined Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/host/ohci-au1xxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-au1xxx.c b/drivers/usb/host/ohci-au1xxx.c
index 17a6043c1fa..958d985f295 100644
--- a/drivers/usb/host/ohci-au1xxx.c
+++ b/drivers/usb/host/ohci-au1xxx.c
@@ -33,7 +33,7 @@
#ifdef __LITTLE_ENDIAN
#define USBH_ENABLE_INIT (USBH_ENABLE_CE | USBH_ENABLE_E | USBH_ENABLE_C)
-#elif __BIG_ENDIAN
+#elif defined(__BIG_ENDIAN)
#define USBH_ENABLE_INIT (USBH_ENABLE_CE | USBH_ENABLE_E | USBH_ENABLE_C | \
USBH_ENABLE_BE)
#else