Skip to content

Commit

Permalink
mfd: wm831x: Don't forward declare enum wm831x_auxadc
Browse files Browse the repository at this point in the history
We can't forward declare enums.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Mar 12, 2013
1 parent 6049bce commit fd86019
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions include/linux/mfd/wm831x/auxadc.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#ifndef __MFD_WM831X_AUXADC_H__
#define __MFD_WM831X_AUXADC_H__

struct wm831x;

/*
* R16429 (0x402D) - AuxADC Data
*/
Expand Down
2 changes: 1 addition & 1 deletion include/linux/mfd/wm831x/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <linux/irqdomain.h>
#include <linux/list.h>
#include <linux/regmap.h>
#include <linux/mfd/wm831x/auxadc.h>

/*
* Register values.
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit fd86019

Please sign in to comment.