]> git.baikalelectronics.ru Git - kernel.git/commit
can: at91-can: fix device to driver data mapping for platform devices
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 9 Oct 2013 10:19:19 +0000 (12:19 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 9 Oct 2013 21:04:31 +0000 (23:04 +0200)
commit8d08619b887e757cc90a3976fcc6abc01dbd1e7a
treeb9372be4c4f41e35d65078a171a27c1a9c5afa40
parent6f7c7e96275b47c4ef4c2c0eae3717d1bfe472cc
can: at91-can: fix device to driver data mapping for platform devices

In commit:

    1c222697 can: at91_can: add dt support

device tree support was added to the at91_can driver. In this commit the
mapping of device to driver data was mixed up. This results in the sam9x5
parameters being used for the sam9263 and the workaround for the broken mailbox
0 on the sam9263 not being activated.

This patch fixes the broken platform_device_id table.

Cc: linux-stable <stable@vger.kernel.org>
Cc: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/at91_can.c