bf533: fix build error: add linux/gpio.h
authorSteven Miao <realmz6@gmail.com>
Tue, 6 May 2014 05:25:51 +0000 (13:25 +0800)
committerSteven Miao <realmz6@gmail.com>
Tue, 10 Jun 2014 15:18:32 +0000 (23:18 +0800)
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>
arch/blackfin/mach-bf533/boards/stamp.c

index d0989290f54cc663dca045455fdaf9cc7f461807..6f4bac969bf72e360a6476c55a9e7f667d2d21fb 100644 (file)
@@ -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>