@@ -31,7 +31,17 @@
#include <asm/sizes.h>
#include "lm.h"
-#include "impd1.h"
+
+#define IMPD1_LEDS 0x0c
+#define IMPD1_INT 0x10
+#define IMPD1_SW 0x14
+#define IMPD1_CTRL 0x18
+
+#define IMPD1_CTRL_DISP_LCD (0 << 0)
+#define IMPD1_CTRL_DISP_VGA (1 << 0)
+#define IMPD1_CTRL_DISP_LCD1 (2 << 0)
+#define IMPD1_CTRL_DISP_ENABLE (1 << 2)
+#define IMPD1_CTRL_DISP_MASK (7 << 0)
static int module_id;
@@ -53,8 +63,6 @@ void impd1_tweak_control(struct device *dev, u32 mask, u32 val)
writel(cur | val, impd1->base + IMPD1_CTRL);
}
-EXPORT_SYMBOL(impd1_tweak_control);
-
/*
* MMC support
*/
deleted file mode 100644
@@ -1,14 +0,0 @@
-#define IMPD1_LEDS 0x0c
-#define IMPD1_INT 0x10
-#define IMPD1_SW 0x14
-#define IMPD1_CTRL 0x18
-
-#define IMPD1_CTRL_DISP_LCD (0 << 0)
-#define IMPD1_CTRL_DISP_VGA (1 << 0)
-#define IMPD1_CTRL_DISP_LCD1 (2 << 0)
-#define IMPD1_CTRL_DISP_ENABLE (1 << 2)
-#define IMPD1_CTRL_DISP_MASK (7 << 0)
-
-struct device;
-
-void impd1_tweak_control(struct device *dev, u32 mask, u32 val);
Make this IM/PD1 driver fully self-contained. No external driver uses this symbol so unexport it, move all definitons into the driver and remove the header file. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- arch/arm/mach-integrator/impd1.c | 14 +++++++++++--- arch/arm/mach-integrator/impd1.h | 14 -------------- 2 files changed, 11 insertions(+), 17 deletions(-) delete mode 100644 arch/arm/mach-integrator/impd1.h