mpc5xxx_can: Fix typo causing build failure (of_dev -> ofdev)
Subsystems (3)
PATCH 1/1 mpc5xxx_can: Fix typo causing build failure (of_dev -> ofdev)
The variable is named ofdev, not of_dev.
Signed-off-by Jeff Mahoney <[email protected]>
--- drivers/net/can/mscan/mpc5xxx_can.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/can/mscan/mpc5xxx_can.c +1 -1
@@ -260,7 +260,7 @@ static int __devinit mpc5xxx_can_probe(sif (!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) {
Signature · 2 lines
Jeff Mahoney SUSE Labs
Hi,
Quoted 6 lines · On Wed, 13 Apr 2011 10:57:03 -0400 Jeff Mahoney <[email protected]> wrote:
The variable is named ofdev, not
of_dev.Signed-off-by Jeff Mahoney <[email protected]>--- drivers/net/can/mscan/mpc5xxx_can.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
There is already a patch pending, [1].