summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/smd.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-msm/smd.c')
-rw-r--r--arch/arm/mach-msm/smd.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-msm/smd.c b/arch/arm/mach-msm/smd.c
index 2e32d9a..2a9b85c 100644
--- a/arch/arm/mach-msm/smd.c
+++ b/arch/arm/mach-msm/smd.c
@@ -26,10 +26,8 @@
#include <linux/slab.h>
#include <linux/debugfs.h>
#include <linux/delay.h>
-#include <linux/io.h>
#include <mach/msm_smd.h>
-#include <mach/msm_iomap.h>
#include <mach/system.h>
#include "smd_private.h"
@@ -69,16 +67,6 @@ static void smd_diag(void);
static unsigned last_heap_free = 0xffffffff;
-static inline void msm_a2m_int(uint32_t irq)
-{
-#if defined(CONFIG_ARCH_MSM7X30)
- writel(1 << irq, MSM_GCC_BASE + 0x8);
-#else
- writel(1, MSM_CSR_BASE + 0x400 + (irq * 4));
-#endif
-}
-
-
static inline void notify_other_smsm(void)
{
msm_a2m_int(5);
OpenPOWER on IntegriCloud