aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2009-11-16 07:57:51 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-17 06:54:04 -0500
commit81593c1cea7afdcd653c77d626aa186993e39c91 (patch)
treef70cc7dd8dc272a941cd7710e7115ac20c62d692 /drivers/net/can
parent3f158c253214bb783e7072f6848b61c1999631e7 (diff)
net/can/mpc52xx_can: improve properties and their description
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Cc: devicetree-discuss@ozlabs.org Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can')
-rw-r--r--drivers/net/can/mscan/mpc52xx_can.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/can/mscan/mpc52xx_can.c b/drivers/net/can/mscan/mpc52xx_can.c
index a915959b6b36..1de6f6349b16 100644
--- a/drivers/net/can/mscan/mpc52xx_can.c
+++ b/drivers/net/can/mscan/mpc52xx_can.c
@@ -130,7 +130,7 @@ static int __devinit mpc5xxx_can_probe(struct of_device *ofdev,
130 * choice as it has less jitter. For this reason, it is selected 130 * choice as it has less jitter. For this reason, it is selected
131 * by default. 131 * by default.
132 */ 132 */
133 clk_src = of_get_property(np, "fsl,mscan-clk-src", NULL); 133 clk_src = of_get_property(np, "fsl,mscan-clock-source", NULL);
134 if (clk_src && strcmp(clk_src, "ip") == 0) 134 if (clk_src && strcmp(clk_src, "ip") == 0)
135 clock_src = MSCAN_CLKSRC_BUS; 135 clock_src = MSCAN_CLKSRC_BUS;
136 else 136 else
@@ -227,7 +227,6 @@ static int mpc5xxx_can_resume(struct of_device *ofdev)
227 227
228static struct of_device_id __devinitdata mpc5xxx_can_table[] = { 228static struct of_device_id __devinitdata mpc5xxx_can_table[] = {
229 {.compatible = "fsl,mpc5200-mscan"}, 229 {.compatible = "fsl,mpc5200-mscan"},
230 {.compatible = "fsl,mpc5200b-mscan"},
231 {}, 230 {},
232}; 231};
233 232