Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
};
+1 −1
Original line number Diff line number Diff line
@@ -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,
};