summaryrefslogtreecommitdiff
path: root/include/mfd
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-02-16 10:10:08 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2013-02-18 09:21:08 +0100
commitbbc0b6bc158b279ec2e4b40dfd15a94cc1530857 (patch)
treea8d480b527b015aaa30439ead2ba898c836e595a /include/mfd
parentf3feb8d4addf3531e2aa4b14ff7199570554e8d9 (diff)
downloadbarebox-bbc0b6bc158b279ec2e4b40dfd15a94cc1530857.tar.gz
mfd: Using MFD_xx prefix for symbols
This patch provides rename MFD-related symbols for using MFD-prefix. Additionally, sorting mfd/Kconfig and mfd/Makefile records. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/mfd')
-rw-r--r--include/mfd/mc34704.h6
-rw-r--r--include/mfd/twl-core.h6
-rw-r--r--include/mfd/twl4030.h6
-rw-r--r--include/mfd/twl6030.h6
4 files changed, 12 insertions, 12 deletions
diff --git a/include/mfd/mc34704.h b/include/mfd/mc34704.h
index a3723d72a9..c42546d7c5 100644
--- a/include/mfd/mc34704.h
+++ b/include/mfd/mc34704.h
@@ -10,8 +10,8 @@
*
*/
-#ifndef __I2C_MC34704_H
-#define __I2C_MC34704_H
+#ifndef __MFD_MC34704_H
+#define __MFD_MC34704_H
struct mc34704 {
struct cdev cdev;
@@ -23,4 +23,4 @@ extern struct mc34704 *mc34704_get(void);
extern int mc34704_reg_read(struct mc34704 *mc34704, u8 reg, u8 *val);
extern int mc34704_reg_write(struct mc34704 *mc34704, u8 reg, u8 val);
-#endif /* __I2C_MC34704_H */
+#endif /* __MFD_MC34704_H */
diff --git a/include/mfd/twl-core.h b/include/mfd/twl-core.h
index 2ab6169433..f090032b3f 100644
--- a/include/mfd/twl-core.h
+++ b/include/mfd/twl-core.h
@@ -9,8 +9,8 @@
*
*/
-#ifndef __I2C_TWLCORE_H__
-#define __I2C_TWLCORE_H__
+#ifndef __MFD_TWLCORE_H__
+#define __MFD_TWLCORE_H__
#include <common.h>
#include <i2c/i2c.h>
@@ -27,4 +27,4 @@ extern int twlcore_reg_read(struct twlcore *twlcore, u16 reg, u8 *val);
extern int twlcore_reg_write(struct twlcore *twlcore, u16 reg, u8 val);
extern int twlcore_set_bits(struct twlcore *twlcore, u16 reg, u8 mask, u8 val);
-#endif /* __I2C_TWLCORE_H__ */
+#endif /* __MFD_TWLCORE_H__ */
diff --git a/include/mfd/twl4030.h b/include/mfd/twl4030.h
index bc54ea66a1..c045071527 100644
--- a/include/mfd/twl4030.h
+++ b/include/mfd/twl4030.h
@@ -6,8 +6,8 @@
*
*/
-#ifndef __I2C_TWL4030_H__
-#define __I2C_TWL4030_H__
+#ifndef __MFD_TWL4030_H__
+#define __MFD_TWL4030_H__
#include <mfd/twl-core.h>
@@ -469,4 +469,4 @@ static inline int twl4030_set_bits(struct twl4030 *twl4030,
return twlcore_set_bits(&(twl4030->core), reg, mask, val);
}
-#endif /* __I2C_TWL4030_H__ */
+#endif /* __MFD_TWL4030_H__ */
diff --git a/include/mfd/twl6030.h b/include/mfd/twl6030.h
index bb4f773225..733a670973 100644
--- a/include/mfd/twl6030.h
+++ b/include/mfd/twl6030.h
@@ -5,8 +5,8 @@
*
*/
-#ifndef __I2C_TWL6030_H__
-#define __I2C_TWL6030_H__
+#ifndef __MFD_TWL6030_H__
+#define __MFD_TWL6030_H__
#include <mfd/twl-core.h>
@@ -424,4 +424,4 @@ static inline int twl6030_set_bits(struct twl6030 *twl6030,
return twlcore_set_bits(&twl6030->core, reg, mask, val);
}
-#endif /* __I2C_TWL6030_H__ */
+#endif /* __MFD_TWL6030_H__ */