From 29ca79d0d58ff7593fd6508d9fa9625f59c93310 Mon Sep 17 00:00:00 2001 From: Krzysztof Halasa Date: Tue, 21 Dec 2010 00:14:12 +0100 Subject: Fix usage of __LITTLE_ENDIAN macro. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix usage of __LITTLE_ENDIAN macro. Both __LITTLE_ENDIAN and __BIG_ENDIAN are always defined by include/linux/byteorder/generic.h, checking for their existence is pointless. Signed-off-by: Krzysztof HaƂasa Signed-off-by: Sascha Hauer --- include/usb/usb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/usb/usb.h') diff --git a/include/usb/usb.h b/include/usb/usb.h index 790d64da73..1b936ecab4 100644 --- a/include/usb/usb.h +++ b/include/usb/usb.h @@ -267,7 +267,7 @@ int usb_set_interface(struct usb_device *dev, int interface, int alternate); ((x_ & 0xFF000000UL) >> 24)); \ }) -#ifdef __LITTLE_ENDIAN +#if __BYTE_ORDER == __LITTLE_ENDIAN # define swap_16(x) (x) # define swap_32(x) (x) #else -- cgit v1.2.3