From: kfx Date: Fri, 28 Sep 2012 06:35:12 +0000 (+0800) Subject: plat/gpio.h: remove __LITTLE_ENDIAN_BITFIELD X-Git-Tag: firefly_0821_release~8524 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=69980f64a82c328eeb8d31c4eea53098e0540403;p=firefly-linux-kernel-4.4.55.git plat/gpio.h: remove __LITTLE_ENDIAN_BITFIELD --- diff --git a/arch/arm/plat-rk/include/plat/gpio.h b/arch/arm/plat-rk/include/plat/gpio.h index 0d2fea57589b..7e5beca04230 100644 --- a/arch/arm/plat-rk/include/plat/gpio.h +++ b/arch/arm/plat-rk/include/plat/gpio.h @@ -8,7 +8,6 @@ * e.g. bank=2, goff=A, off=3 ==>gpio is RKXX_PIN2_PA3 */ struct irq_config{ -#if defined(__LITTLE_ENDIAN_BITFIELD) unsigned int off:4, //bit[3:0] goff:4, bank:4, @@ -16,14 +15,8 @@ struct irq_config{ wake_en:4, irq_flags:4, reserve:8; - - -#else -#error "Adjust your defines" -#endif }; struct gpio_config{ -#if defined(__LITTLE_ENDIAN_BITFIELD) unsigned int off:4, //bit[3:0] goff:4, bank:4, @@ -31,11 +24,7 @@ struct gpio_config{ active_low:4, pull_mode:4, reserve:8; -#else -#error "Adjust your defines" -#endif }; - struct port_config { union{ struct irq_config irq;