Commit eebad42dfde4880a40ee90e4f3cb89e447382be2

Authored by Kyle Manna
Committed by Afzal Mohammed
1 parent 612f26c417
Exists in master

mfd: TPS65910: Move linux/gpio.h include to header

The tps65910.h file depends on linux/gpio.h.  Move the include from the
source file to the tps65910.h header file.

Signed-off-by: Kyle Manna <kyle.manna@fuel7.com>

Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff

drivers/mfd/tps65910.c
... ... @@ -18,7 +18,6 @@
18 18 #include <linux/init.h>
19 19 #include <linux/slab.h>
20 20 #include <linux/i2c.h>
21   -#include <linux/gpio.h>
22 21 #include <linux/mfd/core.h>
23 22 #include <linux/mfd/tps65910.h>
24 23  
include/linux/mfd/tps65910.h
... ... @@ -17,6 +17,9 @@
17 17 #ifndef __LINUX_MFD_TPS65910_H
18 18 #define __LINUX_MFD_TPS65910_H
19 19  
  20 +#include <linux/gpio.h>
  21 +#include <linux/regulator/machine.h>
  22 +
20 23 /* TPS chip id list */
21 24 #define TPS65910 0
22 25 #define TPS65911 1