aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/wm8350/rtc.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-10-13 10:45:22 -0400
committerLiam Girdwood <lrg@slimlogic.co.uk>2008-10-13 16:51:57 -0400
commitadd41cb46175618fd42bc1ca07fe7f9dd38bf702 (patch)
tree339fdb4605a4397098f3f5161a904167cb829929 /include/linux/mfd/wm8350/rtc.h
parent129eef96c9e25ce6516e2ddd5a338a14362b815b (diff)
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/rtc.h')
-rw-r--r--include/linux/mfd/wm8350/rtc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8350/rtc.h b/include/linux/mfd/wm8350/rtc.h
index cb337ea8082f..dfda69e9f440 100644
--- a/include/linux/mfd/wm8350/rtc.h
+++ b/include/linux/mfd/wm8350/rtc.h
@@ -12,6 +12,8 @@
12#ifndef __LINUX_MFD_WM8350_RTC_H 12#ifndef __LINUX_MFD_WM8350_RTC_H
13#define __LINUX_MFD_WM8350_RTC_H 13#define __LINUX_MFD_WM8350_RTC_H
14 14
15#include <linux/platform_device.h>
16
15/* 17/*
16 * Register values. 18 * Register values.
17 */ 19 */
@@ -257,4 +259,8 @@
257#define WM8350_IRQ_RTC_SEC 8 259#define WM8350_IRQ_RTC_SEC 8
258#define WM8350_IRQ_RTC_ALM 9 260#define WM8350_IRQ_RTC_ALM 9
259 261
262struct wm8350_rtc {
263 struct platform_device *pdev;
264};
265
260#endif 266#endif