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:
parent
41c897f878
commit
142df13b75
|
@ -1203,7 +1203,7 @@ static struct resource adc_resources[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct platform_device at91_adc_device = {
|
static struct platform_device at91_adc_device = {
|
||||||
.name = "at91_adc",
|
.name = "at91sam9g45-adc",
|
||||||
.id = -1,
|
.id = -1,
|
||||||
.dev = {
|
.dev = {
|
||||||
.platform_data = &adc_data,
|
.platform_data = &adc_data,
|
||||||
|
|
Loading…
Reference in New Issue