summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/wm8350/supply.h
diff options
context:
space:
mode:
authorMark Brown2008-10-13 16:45:22 +0200
committerLiam Girdwood2008-10-13 22:51:57 +0200
commitadd41cb46175618fd42bc1ca07fe7f9dd38bf702 (patch)
tree339fdb4605a4397098f3f5161a904167cb829929 /include/linux/mfd/wm8350/supply.h
parentda903x: add regulator support for DA9030/DA9034 (diff)
downloadkernel-qcow2-linux-add41cb46175618fd42bc1ca07fe7f9dd38bf702.tar.gz
kernel-qcow2-linux-add41cb46175618fd42bc1ca07fe7f9dd38bf702.tar.xz
kernel-qcow2-linux-add41cb46175618fd42bc1ca07fe7f9dd38bf702.zip
mfd: Add placeholders for WM8350 client devices
In order to avoid merge problems further down the line add placeholders for several of the WM8350 client devices and register them, otherwise the patches adding the client devices will all try to update the same code. Also remove redundant checks for null regulator platform devices while we're at it. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Samuel Ortiz <sameo@openedhand.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include/linux/mfd/wm8350/supply.h')
-rw-r--r--include/linux/mfd/wm8350/supply.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8350/supply.h b/include/linux/mfd/wm8350/supply.h
index f1d4317cf022..1c8f3cde79b0 100644
--- a/include/linux/mfd/wm8350/supply.h
+++ b/include/linux/mfd/wm8350/supply.h
@@ -13,6 +13,8 @@
#ifndef __LINUX_MFD_WM8350_SUPPLY_H_
#define __LINUX_MFD_WM8350_SUPPLY_H_
+#include <linux/platform_device.h>
+
/*
* Charger registers
*/
@@ -102,4 +104,8 @@
#define WM8350_IRQ_EXT_WALL_FB 37
#define WM8350_IRQ_EXT_BAT_FB 38
+struct wm8350_power {
+ struct platform_device *pdev;
+};
+
#endif