]> git.karo-electronics.de Git - linux-beck.git/commitdiff
serial: blackfin: Fix missing gpio.h
authorPeter Hurley <peter@hurleysoftware.com>
Tue, 2 Sep 2014 21:39:18 +0000 (17:39 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 23:22:42 +0000 (16:22 -0700)
If CONFIG_SERIAL_BFIN_CTSRTS is set, compile fails because of missing
declarations for the gpio_* api. Include necessary header.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/bfin_sport_uart.c

index 7810aa290edf7cdc1ff4851cc8afa9792bd1ace2..d62d8daac8ab1626c9e1e499ac1fc62ddcfe767b 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/tty.h>
 #include <linux/tty_flip.h>
 #include <linux/serial_core.h>
+#include <linux/gpio.h>
 
 #include <asm/bfin_sport.h>
 #include <asm/delay.h>