fdt: Include arch specific gpio.h instead of asm-generic/gpio.h
authorMichal Simek <monstr@monstr.eu>
Wed, 11 Jul 2012 02:26:38 +0000 (02:26 +0000)
committerAnatolij Gustschin <agust@denx.de>
Fri, 10 Aug 2012 21:25:47 +0000 (23:25 +0200)
commite46431e190a9d53bcd7fa4c600dc94e9dba5b1ef
treeb52c98c2201a4c7340938470cfac4e582e400dc1
parentfc3608513ba13506d1e977d77e26916882803dfb
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 <monstr@monstr.eu>
CC: Simon Glass <sjg@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Simon Glass <sjg@chromium.org>
lib/fdtdec.c