diff options
author | 2012-04-16 15:59:29 +1000 | |
---|---|---|
committer | 2012-05-20 21:21:35 +1000 | |
commit | c269d4efaab0847947e87df7a5a8b6c5817d9f1d (patch) | |
tree | 462f4d72a6bbedcdb52e633b0ff28af4840cb794 /drivers/i2c/algos/i2c-algo-bit.c | |
parent | m68k: fix compiler warning by properly inlining flat_set_persistent() (diff) | |
download | wireguard-linux-c269d4efaab0847947e87df7a5a8b6c5817d9f1d.tar.xz wireguard-linux-c269d4efaab0847947e87df7a5a8b6c5817d9f1d.zip |
m68knommu: introduce macros to simplify ColdFire GPIO table initialization
We have very large tables in the ColdFire CPU GPIO setup code that essentially
boil down to 2 distinct types of GPIO pin initiaization. Using 2 macros we can
reduce these large tables to at most a dozen lines of setup code, and in quite
a few cases a single table entry.
Introduce these 2 macros into the existing mcfgpio.h header.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Steven King <sfking@fdwdc.com>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions