Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mark Brown and committed by
Samuel Ortiz
fd860195 6049bcef

+3 -1
+2
include/linux/mfd/wm831x/auxadc.h
··· 15 15 #ifndef __MFD_WM831X_AUXADC_H__ 16 16 #define __MFD_WM831X_AUXADC_H__ 17 17 18 + struct wm831x; 19 + 18 20 /* 19 21 * R16429 (0x402D) - AuxADC Data 20 22 */
+1 -1
include/linux/mfd/wm831x/core.h
··· 20 20 #include <linux/irqdomain.h> 21 21 #include <linux/list.h> 22 22 #include <linux/regmap.h> 23 + #include <linux/mfd/wm831x/auxadc.h> 23 24 24 25 /* 25 26 * Register values. ··· 356 355 }; 357 356 358 357 struct wm831x; 359 - enum wm831x_auxadc; 360 358 361 359 typedef int (*wm831x_auxadc_read_fn)(struct wm831x *wm831x, 362 360 enum wm831x_auxadc input);