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>
This commit is contained in:
Sekhar Nori 2011-06-05 17:33:33 +05:30
parent 7416401661
commit 7e9f194521
2 changed files with 2 additions and 2 deletions

View File

@ -494,7 +494,7 @@ static struct platform_device da850_mcasp_device = {
.resource = da850_mcasp_resources, .resource = da850_mcasp_resources,
}; };
struct platform_device davinci_pcm_device = { static struct platform_device davinci_pcm_device = {
.name = "davinci-pcm-audio", .name = "davinci-pcm-audio",
.id = -1, .id = -1,
}; };

View File

@ -298,7 +298,7 @@ static void davinci_init_wdt(void)
/*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/
struct platform_device davinci_pcm_device = { static struct platform_device davinci_pcm_device = {
.name = "davinci-pcm-audio", .name = "davinci-pcm-audio",
.id = -1, .id = -1,
}; };