From: Greg Ungerer Date: Mon, 16 Apr 2012 05:59:29 +0000 (+1000) Subject: m68knommu: introduce macros to simplify ColdFire GPIO table initialization X-Git-Tag: v3.5-rc1~169^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c269d4efaab0847947e87df7a5a8b6c5817d9f1d;p=pandora-kernel.git 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 Acked-by: Steven King --- Reading git-diff-tree failed