From: Michal Simek Date: Wed, 11 Jul 2012 02:26:38 +0000 (+0000) Subject: fdt: Include arch specific gpio.h instead of asm-generic/gpio.h X-Git-Tag: v2012.10-rc1~108^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e46431e190a9d53bcd7fa4c600dc94e9dba5b1ef;p=u-boot fdt: Include arch specific gpio.h instead of asm-generic/gpio.h Include arch specific gpio.h instead of asm-generic/gpio.h because several architectures (Microblaze, Blackfin, Nios2, OpenRISC) define gpio functions in header file. asm-generic/gpio.h can be included in arch specific gpio.h (For example: ARM) Signed-off-by: Michal Simek CC: Simon Glass Acked-by: Mike Frysinger Acked-by: Simon Glass --- diff --git a/lib/fdtdec.c b/lib/fdtdec.c index cc09e06c73..af17ac1b7a 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -24,8 +24,7 @@ #include #include -/* we need the generic GPIO interface here */ -#include +#include DECLARE_GLOBAL_DATA_PTR;