ARM: at91: at91sam9g45: change at91_adc name

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>
This commit is contained in:
Alexandre Belloni 2014-05-03 16:57:00 +01:00 committed by Jonathan Cameron
parent 41c897f878
commit 142df13b75

View 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,