aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-04-11 11:31:28 -0400
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-05-25 11:04:33 -0400
commit1cef3e15721dc9e75f9b661270153e1d6f5e0993 (patch)
tree6c77b7e3bbf50478b5b5731f5031b7cfafc2c35d /arch/arm/mach-at91
parent2b348e2f82f532e3aff8e0ce9293033b3294c1e0 (diff)
at91/board-eco920: remove at91_beeper ressource as no driver at91_beeper exist
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r--arch/arm/mach-at91/board-eco920.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-at91/board-eco920.c b/arch/arm/mach-at91/board-eco920.c
index a158a0ce458f..87f6f83be2c5 100644
--- a/arch/arm/mach-at91/board-eco920.c
+++ b/arch/arm/mach-at91/board-eco920.c
@@ -86,21 +86,6 @@ static struct platform_device eco920_flash = {
86 .num_resources = 1, 86 .num_resources = 1,
87}; 87};
88 88
89static struct resource at91_beeper_resources[] = {
90 [0] = {
91 .start = AT91RM9200_BASE_TC3,
92 .end = AT91RM9200_BASE_TC3 + 0x39,
93 .flags = IORESOURCE_MEM,
94 },
95};
96
97static struct platform_device at91_beeper = {
98 .name = "at91_beeper",
99 .id = 0,
100 .resource = at91_beeper_resources,
101 .num_resources = ARRAY_SIZE(at91_beeper_resources),
102};
103
104static struct spi_board_info eco920_spi_devices[] = { 89static struct spi_board_info eco920_spi_devices[] = {
105 { /* CAN controller */ 90 { /* CAN controller */
106 .modalias = "tlv5638", 91 .modalias = "tlv5638",
@@ -139,10 +124,6 @@ static void __init eco920_board_init(void)
139 AT91_SMC_TDF_(1) /* float time */ 124 AT91_SMC_TDF_(1) /* float time */
140 ); 125 );
141 126
142 at91_clock_associate("tc3_clk", &at91_beeper.dev, "at91_beeper");
143 at91_set_B_periph(AT91_PIN_PB6, 0);
144 platform_device_register(&at91_beeper);
145
146 at91_add_device_spi(eco920_spi_devices, ARRAY_SIZE(eco920_spi_devices)); 127 at91_add_device_spi(eco920_spi_devices, ARRAY_SIZE(eco920_spi_devices));
147} 128}
148 129