diff options
Diffstat (limited to 'arch/arm/mach-davinci/dm646x.c')
-rw-r--r-- | arch/arm/mach-davinci/dm646x.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c index b67b997d0bbc..a0b373957838 100644 --- a/arch/arm/mach-davinci/dm646x.c +++ b/arch/arm/mach-davinci/dm646x.c | |||
@@ -596,32 +596,6 @@ static struct platform_device dm646x_edma_device = { | |||
596 | .resource = edma_resources, | 596 | .resource = edma_resources, |
597 | }; | 597 | }; |
598 | 598 | ||
599 | static struct resource ide_resources[] = { | ||
600 | { | ||
601 | .start = DM646X_ATA_REG_BASE, | ||
602 | .end = DM646X_ATA_REG_BASE + 0x7ff, | ||
603 | .flags = IORESOURCE_MEM, | ||
604 | }, | ||
605 | { | ||
606 | .start = IRQ_DM646X_IDE, | ||
607 | .end = IRQ_DM646X_IDE, | ||
608 | .flags = IORESOURCE_IRQ, | ||
609 | }, | ||
610 | }; | ||
611 | |||
612 | static u64 ide_dma_mask = DMA_BIT_MASK(32); | ||
613 | |||
614 | static struct platform_device ide_dev = { | ||
615 | .name = "palm_bk3710", | ||
616 | .id = -1, | ||
617 | .resource = ide_resources, | ||
618 | .num_resources = ARRAY_SIZE(ide_resources), | ||
619 | .dev = { | ||
620 | .dma_mask = &ide_dma_mask, | ||
621 | .coherent_dma_mask = DMA_BIT_MASK(32), | ||
622 | }, | ||
623 | }; | ||
624 | |||
625 | static struct resource dm646x_mcasp0_resources[] = { | 599 | static struct resource dm646x_mcasp0_resources[] = { |
626 | { | 600 | { |
627 | .name = "mcasp0", | 601 | .name = "mcasp0", |
@@ -867,12 +841,6 @@ static struct davinci_soc_info davinci_soc_info_dm646x = { | |||
867 | .sram_len = SZ_32K, | 841 | .sram_len = SZ_32K, |
868 | }; | 842 | }; |
869 | 843 | ||
870 | void __init dm646x_init_ide(void) | ||
871 | { | ||
872 | davinci_cfg_reg(DM646X_ATAEN); | ||
873 | platform_device_register(&ide_dev); | ||
874 | } | ||
875 | |||
876 | void __init dm646x_init_mcasp0(struct snd_platform_data *pdata) | 844 | void __init dm646x_init_mcasp0(struct snd_platform_data *pdata) |
877 | { | 845 | { |
878 | dm646x_mcasp0_device.dev.platform_data = pdata; | 846 | dm646x_mcasp0_device.dev.platform_data = pdata; |