gpio: remove build warnings caused by sprd bsp 59/165559/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 2 Jan 2018 06:38:58 +0000 (15:38 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 2 Jan 2018 06:47:44 +0000 (15:47 +0900)
Remove build warnings caused by sprd bsp.

Change-Id: I0c64253caec188267a13dc9e24cbfd489085d746
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
include/asm-generic/gpio.h

index 3d22357..70d481d 100644 (file)
  * platform data and other tables.
  */
 
-static bool gpio_is_valid(int number)
+static inline bool gpio_is_valid(int number)
 {
        return number >= 0 && number < ARCH_NR_GPIOS;
 }
 
 struct gpio;
+struct seq_file;
 
 /**
  * struct gpio_chip - abstract a GPIO controller