aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/devices.c
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2011-06-05 08:03:33 -0400
committerSekhar Nori <nsekhar@ti.com>2011-06-08 05:11:37 -0400
commit7e9f1945213cdd7cd11f29346ded07a81854b5af (patch)
treef724362f0fbc1338a6cf85a738806d0dceb8efef /arch/arm/mach-davinci/devices.c
parent7416401661fad5c7ee9edb17cb54e7bff7a74dfe (diff)
davinci: make PCM platform devices static
Make the PCM device structures used in devices.c and devices-da8xx.c static as they are used only in the respective files. This was found when trying to build a single image for DaVinci and DA8x devices using runtime P2V support. Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/devices.c')
-rw-r--r--arch/arm/mach-davinci/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/devices.c b/arch/arm/mach-davinci/devices.c
index 8f4f736aa267..806a2f02b980 100644
--- a/arch/arm/mach-davinci/devices.c
+++ b/arch/arm/mach-davinci/devices.c
@@ -298,7 +298,7 @@ static void davinci_init_wdt(void)
298 298
299/*-------------------------------------------------------------------------*/ 299/*-------------------------------------------------------------------------*/
300 300
301struct platform_device davinci_pcm_device = { 301static struct platform_device davinci_pcm_device = {
302 .name = "davinci-pcm-audio", 302 .name = "davinci-pcm-audio",
303 .id = -1, 303 .id = -1,
304}; 304};