9
0
Fork 0

move include files for mfd drivers to include/mfd

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2010-10-10 19:51:15 +02:00
parent 2ebb440e1d
commit 17f799e6ab
14 changed files with 18 additions and 10 deletions

View File

@ -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 = {

View File

@ -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);

View File

@ -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 */

View File

@ -26,7 +26,7 @@
#include <errno.h>
#include <i2c/i2c.h>
#include <i2c/mc13892.h>
#include <mfd/mc13892.h>
#define DRIVERNAME "mc13892"

View File

@ -27,7 +27,7 @@
#include <errno.h>
#include <i2c/i2c.h>
#include <i2c/mc34704.h>
#include <mfd/mc34704.h>
#define DRIVERNAME "mc34704"

View File

@ -26,7 +26,7 @@
#include <errno.h>
#include <i2c/i2c.h>
#include <i2c/mc9sdz60.h>
#include <mfd/mc9sdz60.h>
#define DRIVERNAME "mc9sdz60"

View File

@ -12,7 +12,7 @@
#include <errno.h>
#include <i2c/i2c.h>
#include <i2c/twl4030.h>
#include <mfd/twl4030.h>
#define DRIVERNAME "twl4030"

View File

@ -11,7 +11,7 @@
/*-------------------------------------------------------------------------*/
#include <i2c/twl4030.h>
#include <mfd/twl4030.h>
#include <usb/twl4030.h>
#include <mach/ehci.h>
#include <common.h>

View File

@ -37,7 +37,7 @@
* MA 02111-1307 USA
*/
#include <i2c/twl4030.h>
#include <mfd/twl4030.h>
#include <usb/twl4030.h>
#include <clock.h>

View File

@ -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);