diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-10-13 10:45:22 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2008-10-13 16:51:57 -0400 |
commit | add41cb46175618fd42bc1ca07fe7f9dd38bf702 (patch) | |
tree | 339fdb4605a4397098f3f5161a904167cb829929 /include/linux/mfd/wm8350/wdt.h | |
parent | 129eef96c9e25ce6516e2ddd5a338a14362b815b (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/wdt.h')
-rw-r--r-- | include/linux/mfd/wm8350/wdt.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/mfd/wm8350/wdt.h b/include/linux/mfd/wm8350/wdt.h index 72fc9f554569..f6135b5e5ef4 100644 --- a/include/linux/mfd/wm8350/wdt.h +++ b/include/linux/mfd/wm8350/wdt.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * wdt.h -- Watchdog Driver for Wolfson WM8350 PMIC | 2 | * wdt.h -- Watchdog Driver for Wolfson WM8350 PMIC |
3 | * | 3 | * |
4 | * Copyright 2007 Wolfson Microelectronics PLC | 4 | * Copyright 2007, 2008 Wolfson Microelectronics PLC |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms of the GNU General Public License as published by the | 7 | * under the terms of the GNU General Public License as published by the |
@@ -12,6 +12,8 @@ | |||
12 | #ifndef __LINUX_MFD_WM8350_WDT_H_ | 12 | #ifndef __LINUX_MFD_WM8350_WDT_H_ |
13 | #define __LINUX_MFD_WM8350_WDT_H_ | 13 | #define __LINUX_MFD_WM8350_WDT_H_ |
14 | 14 | ||
15 | #include <linux/platform_device.h> | ||
16 | |||
15 | #define WM8350_WDOG_HIB_MODE 0x0080 | 17 | #define WM8350_WDOG_HIB_MODE 0x0080 |
16 | #define WM8350_WDOG_DEBUG 0x0040 | 18 | #define WM8350_WDOG_DEBUG 0x0040 |
17 | #define WM8350_WDOG_MODE_MASK 0x0030 | 19 | #define WM8350_WDOG_MODE_MASK 0x0030 |
@@ -19,4 +21,8 @@ | |||
19 | 21 | ||
20 | #define WM8350_IRQ_SYS_WDOG_TO 24 | 22 | #define WM8350_IRQ_SYS_WDOG_TO 24 |
21 | 23 | ||
24 | struct wm8350_wdt { | ||
25 | struct platform_device *pdev; | ||
26 | }; | ||
27 | |||
22 | #endif | 28 | #endif |