move include files for mfd drivers to include/mfd
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
2ebb440e1d
commit
17f799e6ab
|
@ -44,7 +44,7 @@
|
|||
#include <ns16550.h>
|
||||
#include <asm/mmu.h>
|
||||
#include <i2c/i2c.h>
|
||||
#include <i2c/lp3972.h>
|
||||
#include <mfd/lp3972.h>
|
||||
#include <mach/iomux-mx27.h>
|
||||
|
||||
static struct device_d cfi_dev = {
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include <mach/generic.h>
|
||||
#include <linux/err.h>
|
||||
#include <i2c/i2c.h>
|
||||
#include <i2c/mc34704.h>
|
||||
#include <mfd/mc34704.h>
|
||||
|
||||
extern unsigned long _stext;
|
||||
extern void exception_vectors(void);
|
||||
|
|
|
@ -50,8 +50,8 @@
|
|||
#include <mach/generic.h>
|
||||
|
||||
#include <i2c/i2c.h>
|
||||
#include <i2c/mc13892.h>
|
||||
#include <i2c/mc9sdz60.h>
|
||||
#include <mfd/mc13892.h>
|
||||
#include <mfd/mc9sdz60.h>
|
||||
|
||||
|
||||
/* Board rev for the PDK 3stack */
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <errno.h>
|
||||
|
||||
#include <i2c/i2c.h>
|
||||
#include <i2c/mc13892.h>
|
||||
#include <mfd/mc13892.h>
|
||||
|
||||
#define DRIVERNAME "mc13892"
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <errno.h>
|
||||
|
||||
#include <i2c/i2c.h>
|
||||
#include <i2c/mc34704.h>
|
||||
#include <mfd/mc34704.h>
|
||||
|
||||
#define DRIVERNAME "mc34704"
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <errno.h>
|
||||
|
||||
#include <i2c/i2c.h>
|
||||
#include <i2c/mc9sdz60.h>
|
||||
#include <mfd/mc9sdz60.h>
|
||||
|
||||
#define DRIVERNAME "mc9sdz60"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <errno.h>
|
||||
|
||||
#include <i2c/i2c.h>
|
||||
#include <i2c/twl4030.h>
|
||||
#include <mfd/twl4030.h>
|
||||
|
||||
#define DRIVERNAME "twl4030"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
#include <i2c/twl4030.h>
|
||||
#include <mfd/twl4030.h>
|
||||
#include <usb/twl4030.h>
|
||||
#include <mach/ehci.h>
|
||||
#include <common.h>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
* MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include <i2c/twl4030.h>
|
||||
#include <mfd/twl4030.h>
|
||||
#include <usb/twl4030.h>
|
||||
#include <clock.h>
|
||||
|
||||
|
|
|
@ -79,9 +79,17 @@ enum mc13892_reg {
|
|||
MC13892_REG_TEST4 = 0x3f,
|
||||
};
|
||||
|
||||
enum mc13892_mode {
|
||||
MC13892_MODE_I2C,
|
||||
MC13892_MODE_SPI,
|
||||
};
|
||||
|
||||
struct mc13892 {
|
||||
struct cdev cdev;
|
||||
struct i2c_client *client;
|
||||
struct spi_device *spi;
|
||||
enum mc13892_mode mode;
|
||||
|
||||
};
|
||||
|
||||
extern struct mc13892 *mc13892_get(void);
|
Loading…
Reference in New Issue