diff options
author | Steven Miao <realmz6@gmail.com> | 2014-05-06 13:25:51 +0800 |
---|---|---|
committer | Steven Miao <realmz6@gmail.com> | 2014-06-10 23:18:32 +0800 |
commit | bc4fef6f32c56798bb17df9e98a6e07ba7dc4101 (patch) | |
tree | 831e0522c3e6c6998617c31038850ff964e4c9bf /arch/blackfin | |
parent | 1860e379875dfe7271c649058aeddffe5afd9d0d (diff) |
bf533: fix build error: add linux/gpio.h
build error
arch/blackfin/mach-bf533/boards/stamp.c: In function ‘stamp_init’:
arch/blackfin/mach-bf533/boards/stamp.c:866: error: implicit declaration of function ‘gpio_request’
arch/blackfin/mach-bf533/boards/stamp.c:868: error: implicit declaration of function ‘gpio_direction_output’
arch/blackfin/mach-bf533/boards/stamp.c:869: error: implicit declaration of function ‘gpio_free’
Signed-off-by: Steven Miao <realmz6@gmail.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/stamp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c index d0989290f54c..6f4bac969bf7 100644 --- a/arch/blackfin/mach-bf533/boards/stamp.c +++ b/arch/blackfin/mach-bf533/boards/stamp.c @@ -17,6 +17,7 @@ #if IS_ENABLED(CONFIG_USB_ISP1362_HCD) #include <linux/usb/isp1362.h> #endif +#include <linux/gpio.h> #include <linux/irq.h> #include <linux/i2c.h> #include <asm/dma.h> |