diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-08 02:47:21 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-03-12 08:29:20 (GMT) |
commit | fd860195a4f9d661754345bd06a3adb30d12d882 (patch) | |
tree | 5ee6e6779b247dc11f50d6cbaa2d959b41b6a66c /include/linux | |
parent | 6049bcefada077c5d3aec59f093701df711ad235 (diff) | |
download | linux-fsl-qoriq-fd860195a4f9d661754345bd06a3adb30d12d882.tar.xz |
mfd: wm831x: Don't forward declare enum wm831x_auxadc
We can't forward declare enums.
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mfd/wm831x/auxadc.h | 2 | ||||
-rw-r--r-- | include/linux/mfd/wm831x/core.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mfd/wm831x/auxadc.h b/include/linux/mfd/wm831x/auxadc.h index b132067..867aa23 100644 --- a/include/linux/mfd/wm831x/auxadc.h +++ b/include/linux/mfd/wm831x/auxadc.h @@ -15,6 +15,8 @@ #ifndef __MFD_WM831X_AUXADC_H__ #define __MFD_WM831X_AUXADC_H__ +struct wm831x; + /* * R16429 (0x402D) - AuxADC Data */ diff --git a/include/linux/mfd/wm831x/core.h b/include/linux/mfd/wm831x/core.h index 4a3b83a..76c2264 100644 --- a/include/linux/mfd/wm831x/core.h +++ b/include/linux/mfd/wm831x/core.h @@ -20,6 +20,7 @@ #include <linux/irqdomain.h> #include <linux/list.h> #include <linux/regmap.h> +#include <linux/mfd/wm831x/auxadc.h> /* * Register values. @@ -355,7 +356,6 @@ enum wm831x_parent { }; struct wm831x; -enum wm831x_auxadc; typedef int (*wm831x_auxadc_read_fn)(struct wm831x *wm831x, enum wm831x_auxadc input); |