pinctrl: mxs: avoid defines prefixed with CONFIG
[linux-2.6-microblaze.git] / drivers / pinctrl / freescale / pinctrl-mxs.h
index ab9f834..5b26511 100644 (file)
@@ -44,9 +44,9 @@
 #define VOL_SHIFT              3
 #define MA_PRESENT             (1 << 2)
 #define MA_SHIFT               0
-#define CONFIG_TO_PULL(c)      ((c) >> PULL_SHIFT & 0x1)
-#define CONFIG_TO_VOL(c)       ((c) >> VOL_SHIFT & 0x1)
-#define CONFIG_TO_MA(c)                ((c) >> MA_SHIFT & 0x3)
+#define PIN_CONFIG_TO_PULL(c)  ((c) >> PULL_SHIFT & 0x1)
+#define PIN_CONFIG_TO_VOL(c)   ((c) >> VOL_SHIFT & 0x1)
+#define PIN_CONFIG_TO_MA(c)    ((c) >> MA_SHIFT & 0x3)
 
 struct mxs_function {
        const char *name;