[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DA5B9BF.2010809@suse.com>
Date: Wed, 13 Apr 2011 10:57:03 -0400
From: Jeff Mahoney <jeffm@...e.com>
To: Grant Likely <grant.likely@...retlab.ca>,
"David S. Miller" <davem@...emloft.net>
Cc: Network Development <netdev@...r.kernel.org>
Subject: [PATCH] mpc5xxx_can: Fix typo causing build failure (of_dev -> ofdev)
The variable is named ofdev, not of_dev.
Signed-off-by: Jeff Mahoney <jeffm@...e.com>
---
drivers/net/can/mscan/mpc5xxx_can.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/can/mscan/mpc5xxx_can.c
+++ b/drivers/net/can/mscan/mpc5xxx_can.c
@@ -260,7 +260,7 @@ static int __devinit mpc5xxx_can_probe(s
if (!ofdev->dev.of_match)
return -EINVAL;
- data = (struct mpc5xxx_can_data *)of_dev->dev.of_match->data;
+ data = (struct mpc5xxx_can_data *)ofdev->dev.of_match->data;
base = of_iomap(np, 0);
if (!base) {
--
Jeff Mahoney
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists