* [PATCH] mpc5xxx_can: Fix typo causing build failure (of_dev -> ofdev)
@ 2011-04-13 14:57 Jeff Mahoney
2011-04-13 15:13 ` Anatolij Gustschin
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Mahoney @ 2011-04-13 14:57 UTC (permalink / raw)
To: Grant Likely, David S. Miller; +Cc: Network Development
The variable is named ofdev, not of_dev.
Signed-off-by: Jeff Mahoney <jeffm@suse.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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] mpc5xxx_can: Fix typo causing build failure (of_dev -> ofdev)
2011-04-13 14:57 [PATCH] mpc5xxx_can: Fix typo causing build failure (of_dev -> ofdev) Jeff Mahoney
@ 2011-04-13 15:13 ` Anatolij Gustschin
0 siblings, 0 replies; 2+ messages in thread
From: Anatolij Gustschin @ 2011-04-13 15:13 UTC (permalink / raw)
To: Jeff Mahoney; +Cc: Grant Likely, David S. Miller, Network Development
Hi,
On Wed, 13 Apr 2011 10:57:03 -0400
Jeff Mahoney <jeffm@suse.com> wrote:
> The variable is named ofdev, not of_dev.
>
> Signed-off-by: Jeff Mahoney <jeffm@suse.com>
> ---
> drivers/net/can/mscan/mpc5xxx_can.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
There is already a patch pending, [1].
[1] http://patchwork.ozlabs.org/patch/90979/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-13 15:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-13 14:57 [PATCH] mpc5xxx_can: Fix typo causing build failure (of_dev -> ofdev) Jeff Mahoney
2011-04-13 15:13 ` Anatolij Gustschin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).