msm: Pull cache dumping out of the board file
The cache dumping device belongs in the devices file with
the rest of the platorm devices. Pull it out and add appropriate
definitions in headers for access. Also remove CONFIG_MSM_CACHE_DUMP
macros around the device and code since platform device matching
will do the proper thing if CONFIG_MSM_CACHE_DUMP is not defined.
Change-Id: I713378b36c166f611e723e4b1ee0d7bdd8bf6497
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices.h b/arch/arm/mach-msm/devices.h
index e86c226..6a56c04 100644
--- a/arch/arm/mach-msm/devices.h
+++ b/arch/arm/mach-msm/devices.h
@@ -389,3 +389,5 @@
extern struct platform_device msm8960_rtb_device;
extern struct platform_device msm8930_rtb_device;
extern struct platform_device apq8064_rtb_device;
+
+extern struct platform_device msm8960_cache_dump_device;