Skip to content

Commit

Permalink
davinci: make PCM platform devices static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sekhar Nori committed Jun 8, 2011
1 parent 7416401 commit 7e9f194
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-davinci/devices-da8xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-davinci/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 7e9f194

Please sign in to comment.