mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
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>
This commit is contained in:
parent
6049bcefad
commit
fd860195a4
@ -15,6 +15,8 @@
|
||||
#ifndef __MFD_WM831X_AUXADC_H__
|
||||
#define __MFD_WM831X_AUXADC_H__
|
||||
|
||||
struct wm831x;
|
||||
|
||||
/*
|
||||
* R16429 (0x402D) - AuxADC Data
|
||||
*/
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user