msm: dmov: Support for multiple concurrent targets
Rename the data mover devices to allow one kernel to be
compiled for 8960 and 8064 simultaneously.
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices-8960.c b/arch/arm/mach-msm/devices-8960.c
index ebc1826..8c668fe 100644
--- a/arch/arm/mach-msm/devices-8960.c
+++ b/arch/arm/mach-msm/devices-8960.c
@@ -771,7 +771,7 @@
.id = -1,
};
-struct resource msm_dmov_resource[] = {
+static struct resource msm_dmov_resource[] = {
{
.start = ADM_0_SCSS_1_IRQ,
.end = (resource_size_t)MSM_DMOV_BASE,
@@ -779,7 +779,7 @@
},
};
-struct platform_device msm_device_dmov = {
+struct platform_device msm8960_device_dmov = {
.name = "msm_dmov",
.id = -1,
.resource = msm_dmov_resource,