linux-mips
[Top] [All Lists]

[PATCH] USB: ohci-au1xxx: fix warning "__BIG_ENDIAN" is not defined

To: Greg Kroah-Hartman <greg@kroah.com>
Subject: [PATCH] USB: ohci-au1xxx: fix warning "__BIG_ENDIAN" is not defined
From: Yoichi Yuasa <yuasa@linux-mips.org>
Date: Mon, 11 Apr 2011 21:56:39 +0900
Cc: yuasa@linux-mips.org, linux-usb <linux-usb@vger.kernel.org>, linux-mips <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:message-id :x-mailer:mime-version:content-type:content-transfer-encoding; bh=VoI3ZvmUjucURZ9OhTtR3FGvlbTE5c7WuNr8805Np1o=; b=KVyG0wuJ6KheD2lAHnRF82SERKYDAgv9DdzV1Hr4FrRWoDlWTF24qTsAMzt7MQUvNM VQoCeU6fSMSk/EsP1rcT9j6jiuzu/42Qd2yyJnTVQRS85Ya9yN/TmVbGmTIwKh0ekbEq S7u8N8EXgHs+DlqxF+GdgUc6zcBFah7npIRhI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=n5+IpdbTg1SgZkD9fpz3j0wTlbpR64SDMDnKx9hwc5DhO0ffQBcyNVa+JhIX//YOqr zoodEp8pq6sltzC4gLtV7Jij3+E4LVaCawUHnnvofpXSR22mJGBLF3uRk8miZzD0gkj6 ji6uR4KVCJuDobij9NraK71Vxa9Ors2SGAHDg=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
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>
---
 drivers/usb/host/ohci-au1xxx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/host/ohci-au1xxx.c b/drivers/usb/host/ohci-au1xxx.c
index 17a6043..958d985 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
-- 
1.7.3.4


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] USB: ohci-au1xxx: fix warning "__BIG_ENDIAN" is not defined, Yoichi Yuasa <=