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>
This commit is contained in:

committed by
Liam Girdwood

parent
129eef96c9
commit
add41cb461
@@ -13,6 +13,8 @@
|
||||
#ifndef __LINUX_MFD_WM8350_GPIO_H_
|
||||
#define __LINUX_MFD_WM8350_GPIO_H_
|
||||
|
||||
#include <linux/platform_device.h>
|
||||
|
||||
/*
|
||||
* GPIO Registers.
|
||||
*/
|
||||
@@ -328,6 +330,10 @@ struct wm8350;
|
||||
int wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func,
|
||||
int pol, int pull, int invert, int debounce);
|
||||
|
||||
struct wm8350_gpio {
|
||||
struct platform_device *pdev;
|
||||
};
|
||||
|
||||
/*
|
||||
* GPIO Interrupts
|
||||
*/
|
||||
|
Reference in New Issue
Block a user