From: Michal Simek Date: Wed, 11 Jul 2012 14:26:38 +0200 Subject: [U-Boot] [PATCH v2] fdt: Include arch specific gpio.h instead of asm-generic/gpio.h Message-ID: <1342009598-19122-1-git-send-email-monstr@monstr.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- v2: Use only arch specific gpio.h Remove commentary --- lib/fdtdec.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index cc09e06..af17ac1 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; -- 1.7.0.4