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/gpio.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/gpio.h')
-rw-r--r-- | include/linux/mfd/wm8350/gpio.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8350/gpio.h b/include/linux/mfd/wm8350/gpio.h index c6cd2ca8854a..ed91e8f5d298 100644 --- a/include/linux/mfd/wm8350/gpio.h +++ b/include/linux/mfd/wm8350/gpio.h | |||
@@ -13,6 +13,8 @@ | |||
13 | #ifndef __LINUX_MFD_WM8350_GPIO_H_ | 13 | #ifndef __LINUX_MFD_WM8350_GPIO_H_ |
14 | #define __LINUX_MFD_WM8350_GPIO_H_ | 14 | #define __LINUX_MFD_WM8350_GPIO_H_ |
15 | 15 | ||
16 | #include <linux/platform_device.h> | ||
17 | |||
16 | /* | 18 | /* |
17 | * GPIO Registers. | 19 | * GPIO Registers. |
18 | */ | 20 | */ |
@@ -328,6 +330,10 @@ struct wm8350; | |||
328 | int wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func, | 330 | int wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func, |
329 | int pol, int pull, int invert, int debounce); | 331 | int pol, int pull, int invert, int debounce); |
330 | 332 | ||
333 | struct wm8350_gpio { | ||
334 | struct platform_device *pdev; | ||
335 | }; | ||
336 | |||
331 | /* | 337 | /* |
332 | * GPIO Interrupts | 338 | * GPIO Interrupts |
333 | */ | 339 | */ |