Commit 7e9f1945 authored by Sekhar Nori's avatar Sekhar Nori

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: default avatarSekhar Nori <nsekhar@ti.com>
parent 74164016
......@@ -494,7 +494,7 @@ static struct platform_device da850_mcasp_device = {
.resource = da850_mcasp_resources,
};
struct platform_device davinci_pcm_device = {
static struct platform_device davinci_pcm_device = {
.name = "davinci-pcm-audio",
.id = -1,
};
......
......@@ -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",
.id = -1,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment