Skip to content

Commit

Permalink
ARM: at91: at91sam9260: change at91_adc name
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Belloni authored and Jonathan Cameron committed Mar 15, 2014
1 parent 142df13 commit 301841a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-at91/at91sam9260_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,7 @@ static struct resource adc_resources[] = {
};

static struct platform_device at91_adc_device = {
.name = "at91_adc",
.name = "at91sam9260-adc",
.id = -1,
.dev = {
.platform_data = &adc_data,
Expand Down

0 comments on commit 301841a

Please sign in to comment.