提交 fd860195 编写于 作者: M Mark Brown 提交者: Samuel Ortiz

mfd: wm831x: Don't forward declare enum wm831x_auxadc

We can't forward declare enums.
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 6049bcef
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
#ifndef __MFD_WM831X_AUXADC_H__ #ifndef __MFD_WM831X_AUXADC_H__
#define __MFD_WM831X_AUXADC_H__ #define __MFD_WM831X_AUXADC_H__
struct wm831x;
/* /*
* R16429 (0x402D) - AuxADC Data * R16429 (0x402D) - AuxADC Data
*/ */
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <linux/irqdomain.h> #include <linux/irqdomain.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/regmap.h> #include <linux/regmap.h>
#include <linux/mfd/wm831x/auxadc.h>
/* /*
* Register values. * Register values.
...@@ -355,7 +356,6 @@ enum wm831x_parent { ...@@ -355,7 +356,6 @@ enum wm831x_parent {
}; };
struct wm831x; struct wm831x;
enum wm831x_auxadc;
typedef int (*wm831x_auxadc_read_fn)(struct wm831x *wm831x, typedef int (*wm831x_auxadc_read_fn)(struct wm831x *wm831x,
enum wm831x_auxadc input); enum wm831x_auxadc input);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册