diff options
| author | Andreas Larsson <andreas@gaisler.com> | 2013-03-15 14:45:38 +0100 | 
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2013-04-10 23:41:16 +0200 | 
| commit | 2b78f1e1389aef263071b9edf41c0980b092e601 (patch) | |
| tree | a248dcde3ba8654b5a7dfda02861688f079cbc8e /include/linux/basic_mmio_gpio.h | |
| parent | 43158441934fd9f1d2a2434c9eec1b682391a49b (diff) | |
| download | olio-linux-3.10-2b78f1e1389aef263071b9edf41c0980b092e601.tar.xz olio-linux-3.10-2b78f1e1389aef263071b9edf41c0980b092e601.zip  | |
gpio: gpio-generic: Add 16 and 32 bit big endian byte order support
There is no general support for 64-bit big endian accesses, so that is
left unsupported.
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Acked-by: Anton Vorontsov <anton@enomsg.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/basic_mmio_gpio.h')
| -rw-r--r-- | include/linux/basic_mmio_gpio.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/basic_mmio_gpio.h b/include/linux/basic_mmio_gpio.h index 1c504ca5bdb..d8a97ec0e2b 100644 --- a/include/linux/basic_mmio_gpio.h +++ b/include/linux/basic_mmio_gpio.h @@ -72,5 +72,6 @@ int bgpio_init(struct bgpio_chip *bgc, struct device *dev,  #define BGPIOF_BIG_ENDIAN		BIT(0)  #define BGPIOF_UNREADABLE_REG_SET	BIT(1) /* reg_set is unreadable */  #define BGPIOF_UNREADABLE_REG_DIR	BIT(2) /* reg_dir is unreadable */ +#define BGPIOF_BIG_ENDIAN_BYTE_ORDER	BIT(3)  #endif /* __BASIC_MMIO_GPIO_H */  |