commit | e358784297992b012e8071764d996191dd2b1a54 | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Thu Oct 03 23:51:55 2013 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Wed Oct 09 23:02:58 2013 +0200 |
tree | 221e4a3028ce4b3014184d69ddaa1aa100701acc | |
parent | d5a7b406c529e4595ce03dc8f6dcf7fa36f106fa [diff] |
can: flexcan: fix mx28 detection by rearanging OF match table The current implemetation of of_match_device() relies that the of_device_id table in the driver is sorted from most specific to least specific compatible. Without this patch the mx28 is detected as the less specific p1010. This leads to a p1010 specific workaround is activated on the mx28, which is not needed. Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>