diff options
Diffstat (limited to 'arch/arm/mach-davinci/devices-da8xx.c')
-rw-r--r-- | arch/arm/mach-davinci/devices-da8xx.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c index 783eab6845c4..bd2f72b414bc 100644 --- a/arch/arm/mach-davinci/devices-da8xx.c +++ b/arch/arm/mach-davinci/devices-da8xx.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <mach/cpuidle.h> | 24 | #include <mach/cpuidle.h> |
25 | 25 | ||
26 | #include "clock.h" | 26 | #include "clock.h" |
27 | #include "asp.h" | ||
27 | 28 | ||
28 | #define DA8XX_TPCC_BASE 0x01c00000 | 29 | #define DA8XX_TPCC_BASE 0x01c00000 |
29 | #define DA8XX_TPTC0_BASE 0x01c08000 | 30 | #define DA8XX_TPTC0_BASE 0x01c08000 |
@@ -505,15 +506,8 @@ static struct platform_device da850_mcasp_device = { | |||
505 | .resource = da850_mcasp_resources, | 506 | .resource = da850_mcasp_resources, |
506 | }; | 507 | }; |
507 | 508 | ||
508 | static struct platform_device davinci_pcm_device = { | ||
509 | .name = "davinci-pcm-audio", | ||
510 | .id = -1, | ||
511 | }; | ||
512 | |||
513 | void __init da8xx_register_mcasp(int id, struct snd_platform_data *pdata) | 509 | void __init da8xx_register_mcasp(int id, struct snd_platform_data *pdata) |
514 | { | 510 | { |
515 | platform_device_register(&davinci_pcm_device); | ||
516 | |||
517 | /* DA830/OMAP-L137 has 3 instances of McASP */ | 511 | /* DA830/OMAP-L137 has 3 instances of McASP */ |
518 | if (cpu_is_davinci_da830() && id == 1) { | 512 | if (cpu_is_davinci_da830() && id == 1) { |
519 | da830_mcasp1_device.dev.platform_data = pdata; | 513 | da830_mcasp1_device.dev.platform_data = pdata; |