]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: at91: at91sam9g45: change at91_adc name
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 3 May 2014 15:57:00 +0000 (16:57 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 15 Mar 2014 15:31:58 +0000 (15:31 +0000)
We can't use "at91_adc" to refer to the at91_adc driver anymore as the name is
used to match an id_table.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
arch/arm/mach-at91/at91sam9g45_devices.c

index cb36fa872d305d6f22b9133d48d3bdaaa678789d..88554024eb2df616b68b74018b32bab7243e497f 100644 (file)
@@ -1203,7 +1203,7 @@ static struct resource adc_resources[] = {
 };
 
 static struct platform_device at91_adc_device = {
-       .name           = "at91_adc",
+       .name           = "at91sam9g45-adc",
        .id             = -1,
        .dev            = {
                                .platform_data  = &adc_data,