diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-10 19:51:15 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-11 13:22:13 +0200 |
commit | 17f799e6aba80e4be74f31472eba255bf4ec96f7 (patch) | |
tree | ec3e2224bc4c289d1a05e53b5082454b290e4926 /include | |
parent | 2ebb440e1d92c60f47a0d89b7666f190caf38561 (diff) | |
download | barebox-17f799e6aba80e4be74f31472eba255bf4ec96f7.tar.gz barebox-17f799e6aba80e4be74f31472eba255bf4ec96f7.tar.xz |
move include files for mfd drivers to include/mfd
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/mfd/lp3972.h (renamed from include/i2c/lp3972.h) | 0 | ||||
-rw-r--r-- | include/mfd/mc13892.h (renamed from include/i2c/mc13892.h) | 8 | ||||
-rw-r--r-- | include/mfd/mc34704.h (renamed from include/i2c/mc34704.h) | 0 | ||||
-rw-r--r-- | include/mfd/mc9sdz60.h (renamed from include/i2c/mc9sdz60.h) | 0 | ||||
-rw-r--r-- | include/mfd/twl4030.h (renamed from include/i2c/twl4030.h) | 0 |
5 files changed, 8 insertions, 0 deletions
diff --git a/include/i2c/lp3972.h b/include/mfd/lp3972.h index edb5801118..edb5801118 100644 --- a/include/i2c/lp3972.h +++ b/include/mfd/lp3972.h diff --git a/include/i2c/mc13892.h b/include/mfd/mc13892.h index 112d05ba69..11ae8789ef 100644 --- a/include/i2c/mc13892.h +++ b/include/mfd/mc13892.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); diff --git a/include/i2c/mc34704.h b/include/mfd/mc34704.h index a3723d72a9..a3723d72a9 100644 --- a/include/i2c/mc34704.h +++ b/include/mfd/mc34704.h diff --git a/include/i2c/mc9sdz60.h b/include/mfd/mc9sdz60.h index 3882cea1a0..3882cea1a0 100644 --- a/include/i2c/mc9sdz60.h +++ b/include/mfd/mc9sdz60.h diff --git a/include/i2c/twl4030.h b/include/mfd/twl4030.h index 3fef4d9ad6..3fef4d9ad6 100644 --- a/include/i2c/twl4030.h +++ b/include/mfd/twl4030.h |