diff options
author | Venu Byravarasu <vbyravarasu@nvidia.com> | 2012-03-16 12:58:37 +0530 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-03-16 21:02:09 +0100 |
commit | 095e7f780be59f3adb4d39ac3cb8d3665b3f2347 (patch) | |
tree | e73219ebe3268e34a0db9dedf87304e9f2fe4f6c /include/linux/mfd | |
parent | 1927ddf66805fca2af010c3e9d0b29216aed0fae (diff) | |
download | op-kernel-dev-095e7f780be59f3adb4d39ac3cb8d3665b3f2347.zip op-kernel-dev-095e7f780be59f3adb4d39ac3cb8d3665b3f2347.tar.gz |
mfd: Fix compilation error in tps65910.h
'struct gpio_chip' is declared in include/asm-generic/gpio.h
which is included by include/linux/gpio.h.
However without including gpio.h, TPS65910.h declares
a member of this type as part of 'struct tps65910' declaration.
This causes compilation error, if gpio.h is not included
before including tps65910.h, in source files.
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/tps65910.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/tps65910.h b/include/linux/mfd/tps65910.h index b9aceb5..0148c80 100644 --- a/include/linux/mfd/tps65910.h +++ b/include/linux/mfd/tps65910.h @@ -17,6 +17,8 @@ #ifndef __LINUX_MFD_TPS65910_H #define __LINUX_MFD_TPS65910_H +#include <linux/gpio.h> + /* TPS chip id list */ #define TPS65910 0 #define TPS65911 1 |