flexcan: Add of_match to platform_device definition.
authorholt@sgi.com <holt@sgi.com>
Tue, 16 Aug 2011 17:32:22 +0000 (17:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Aug 2011 03:36:38 +0000 (20:36 -0700)
commitc8aef4cb788b760331e6df06a5d93389824882b4
treec37077d02bf411b6551b03d39bf475f98c438ab3
parent243abbf2a610d801904bf1e44917e9ac4ccf823e
flexcan: Add of_match to platform_device definition.

On powerpc, the OpenFirmware devices are not matched without specifying
an of_match array.  Introduce that array as that is used for matching
on the Freescale P1010 processor.

Signed-off-by: Robin Holt <holt@sgi.com>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Cc: U Bhaskar-B22300 <B22300@freescale.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: socketcan-core@lists.berlios.de
Cc: netdev@vger.kernel.org
Cc: PPC list <linuxppc-dev@lists.ozlabs.org>
Cc: devicetree-discuss@lists.ozlabs.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/flexcan.c