diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-08 11:21:09 +0900 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-23 21:10:13 +0900 |
commit | a8a8fc287dd7497b3adb2f2952513849ab6506eb (patch) | |
tree | 1a4a94ee51dd4a3fa84142e97ebf3f1e60f4cb94 /include/linux/mfd | |
parent | cd22000ade0cf023da30031b51ca810a5b6b1b8d (diff) | |
download | linux-3.10-a8a8fc287dd7497b3adb2f2952513849ab6506eb.tar.gz linux-3.10-a8a8fc287dd7497b3adb2f2952513849ab6506eb.tar.bz2 linux-3.10-a8a8fc287dd7497b3adb2f2952513849ab6506eb.zip |
mfd: wm8994: Store platform data in device
This is better style as platform data is supposed to be discardable after
init (though hotplug usually prevents this) and will ease implementation
of device tree property bindings.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/wm8994/core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8994/core.h b/include/linux/mfd/wm8994/core.h index 1f173306bf0..ae5c249530b 100644 --- a/include/linux/mfd/wm8994/core.h +++ b/include/linux/mfd/wm8994/core.h @@ -19,6 +19,8 @@ #include <linux/interrupt.h> #include <linux/regmap.h> +#include <linux/mfd/wm8994/pdata.h> + enum wm8994_type { WM8994 = 0, WM8958 = 1, @@ -55,6 +57,8 @@ struct regulator_bulk_data; struct wm8994 { struct mutex irq_lock; + struct wm8994_pdata pdata; + enum wm8994_type type; int revision; int cust_id; |