Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332041
b: refs/heads/master
c: bdd7327
h: refs/heads/master
i:
  332039: 8771b31
v: v3
  • Loading branch information
Hebbar, Gururaja authored and Mark Brown committed Aug 27, 2012
1 parent db5c133 commit 337c2d1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f08095a408bf6489b4a710d794ae6d5475a007ef
refs/heads/master: bdd732786dc776ba3e4ccb6f5d6461a92a978582
7 changes: 0 additions & 7 deletions trunk/arch/arm/mach-davinci/devices-da8xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,15 +505,8 @@ static struct platform_device da850_mcasp_device = {
.resource = da850_mcasp_resources,
};

static struct platform_device davinci_pcm_device = {
.name = "davinci-pcm-audio",
.id = -1,
};

void __init da8xx_register_mcasp(int id, struct snd_platform_data *pdata)
{
platform_device_register(&davinci_pcm_device);

/* DA830/OMAP-L137 has 3 instances of McASP */
if (cpu_is_davinci_da830() && id == 1) {
da830_mcasp1_device.dev.platform_data = pdata;
Expand Down
11 changes: 0 additions & 11 deletions trunk/arch/arm/mach-davinci/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,16 +313,6 @@ static void davinci_init_wdt(void)

/*-------------------------------------------------------------------------*/

static struct platform_device davinci_pcm_device = {
.name = "davinci-pcm-audio",
.id = -1,
};

static void davinci_init_pcm(void)
{
platform_device_register(&davinci_pcm_device);
}

/*-------------------------------------------------------------------------*/

struct davinci_timer_instance davinci_timer_instance[2] = {
Expand All @@ -345,7 +335,6 @@ static int __init davinci_init_devices(void)
/* please keep these calls, and their implementations above,
* in alphabetical order so they're easier to sort through.
*/
davinci_init_pcm();
davinci_init_wdt();

return 0;
Expand Down

0 comments on commit 337c2d1

Please sign in to comment.