X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fchar%2Fagp%2Funinorth-agp.c;h=42c0a600b1ac66102d9a5ea7c95266d28edace13;hb=9873aed5a90aefb1642a85070c35088cca8b6a92;hp=91b062126a686edd0af2c2e2e564c2f4a9181d81;hpb=e047d1cfc3cd79f75e7dda9ffb28b456f6936864;p=linux-2.6-omap-h63xx.git diff --git a/drivers/char/agp/uninorth-agp.c b/drivers/char/agp/uninorth-agp.c index 91b062126a6..42c0a600b1a 100644 --- a/drivers/char/agp/uninorth-agp.c +++ b/drivers/char/agp/uninorth-agp.c @@ -613,7 +613,7 @@ static int __devinit agp_uninorth_probe(struct pci_dev *pdev, uninorth_node = of_find_node_by_name(NULL, "u3"); } if (uninorth_node) { - const int *revprop = get_property(uninorth_node, + const int *revprop = of_get_property(uninorth_node, "device-rev", NULL); if (revprop != NULL) uninorth_rev = *revprop & 0x3f;