Skip to content
Snippets Groups Projects
Commit e46431e1 authored by Michal Simek's avatar Michal Simek Committed by Anatolij Gustschin
Browse files

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: default avatarMichal Simek <monstr@monstr.eu>
CC: Simon Glass <sjg@chromium.org>
Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent fc360851
No related branches found
No related tags found
Loading
......@@ -24,8 +24,7 @@
#include <libfdt.h>
#include <fdtdec.h>
/* we need the generic GPIO interface here */
#include <asm-generic/gpio.h>
#include <asm/gpio.h>
DECLARE_GLOBAL_DATA_PTR;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment