From 5bd29617b13ba31e25471db3036e15f0fbdae74f Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Mon, 11 Apr 2011 23:31:28 +0800 Subject: [PATCH] --- yaml --- r: 252390 b: refs/heads/master c: 1cef3e15721dc9e75f9b661270153e1d6f5e0993 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-at91/board-eco920.c | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/[refs] b/[refs] index deba6cd53c3c..fb937d0b742c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2b348e2f82f532e3aff8e0ce9293033b3294c1e0 +refs/heads/master: 1cef3e15721dc9e75f9b661270153e1d6f5e0993 diff --git a/trunk/arch/arm/mach-at91/board-eco920.c b/trunk/arch/arm/mach-at91/board-eco920.c index a158a0ce458f..87f6f83be2c5 100644 --- a/trunk/arch/arm/mach-at91/board-eco920.c +++ b/trunk/arch/arm/mach-at91/board-eco920.c @@ -86,21 +86,6 @@ static struct platform_device eco920_flash = { .num_resources = 1, }; -static struct resource at91_beeper_resources[] = { - [0] = { - .start = AT91RM9200_BASE_TC3, - .end = AT91RM9200_BASE_TC3 + 0x39, - .flags = IORESOURCE_MEM, - }, -}; - -static struct platform_device at91_beeper = { - .name = "at91_beeper", - .id = 0, - .resource = at91_beeper_resources, - .num_resources = ARRAY_SIZE(at91_beeper_resources), -}; - static struct spi_board_info eco920_spi_devices[] = { { /* CAN controller */ .modalias = "tlv5638", @@ -139,10 +124,6 @@ static void __init eco920_board_init(void) AT91_SMC_TDF_(1) /* float time */ ); - at91_clock_associate("tc3_clk", &at91_beeper.dev, "at91_beeper"); - at91_set_B_periph(AT91_PIN_PB6, 0); - platform_device_register(&at91_beeper); - at91_add_device_spi(eco920_spi_devices, ARRAY_SIZE(eco920_spi_devices)); }