]> err.no Git - linux-2.6/commitdiff
typo in ibm_newemac/rgmii.c
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 14 Oct 2007 04:50:12 +0000 (05:50 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 14 Oct 2007 15:53:33 +0000 (08:53 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/ibm_newemac/rgmii.c

index bcd7fc639c40a99411074fcd7bed0891c47be0f6..3f57d6cd26e22b3f84625c049545c0abb376d682 100644 (file)
@@ -251,7 +251,7 @@ static int __devinit rgmii_probe(struct of_device *ofdev,
        }
 
        /* Check for RGMII type */
-       if (device_is_compatible(ofdev->node, "ibm,rgmii-axon"))
+       if (of_device_is_compatible(ofdev->node, "ibm,rgmii-axon"))
                dev->type = RGMII_AXON;
        else
                dev->type = RGMII_STANDARD;