[PATCH v2 4/6] mfd: TPS65910: Move linux/gpio.h include to header

From: Kyle Manna
Date: Mon Oct 24 2011 - 13:07:51 EST


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@xxxxxxxxx>
---
drivers/mfd/tps65910.c | 1 -
include/linux/mfd/tps65910.h | 3 +++
2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c
index f4654d5..36bc08c 100644
--- a/drivers/mfd/tps65910.c
+++ b/drivers/mfd/tps65910.c
@@ -18,7 +18,6 @@
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/i2c.h>
-#include <linux/gpio.h>
#include <linux/mfd/core.h>
#include <linux/mfd/tps65910.h>

diff --git a/include/linux/mfd/tps65910.h b/include/linux/mfd/tps65910.h
index 399d80a..503ded3 100644
--- a/include/linux/mfd/tps65910.h
+++ b/include/linux/mfd/tps65910.h
@@ -17,6 +17,9 @@
#ifndef __LINUX_MFD_TPS65910_H
#define __LINUX_MFD_TPS65910_H

+#include <linux/gpio.h>
+#include <linux/regulator/machine.h>
+
/* TPS chip id list */
#define TPS65910 0
#define TPS65911 1
--
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/