Commit 095e7f78 authored by Venu Byravarasu's avatar Venu Byravarasu Committed by Samuel Ortiz

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: default avatarVenu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 1927ddf6
...@@ -17,6 +17,8 @@ ...@@ -17,6 +17,8 @@
#ifndef __LINUX_MFD_TPS65910_H #ifndef __LINUX_MFD_TPS65910_H
#define __LINUX_MFD_TPS65910_H #define __LINUX_MFD_TPS65910_H
#include <linux/gpio.h>
/* TPS chip id list */ /* TPS chip id list */
#define TPS65910 0 #define TPS65910 0
#define TPS65911 1 #define TPS65911 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment