]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/macintosh/macio_asic.c
Input: atkbd - use printk_ratelimit for spurious ACK messages
[linux-2.6-omap-h63xx.git] / drivers / macintosh / macio_asic.c
index e851266a2db1b37fa400c1143ee4ccea72789c3f..c96b7fe882a450ccfaae4d9fe8c6d0c084077876 100644 (file)
@@ -395,7 +395,7 @@ static struct macio_dev * macio_add_one_device(struct macio_chip *chip,
 #endif
                        MAX_NODE_NAME_SIZE, np->name);
        } else {
-               reg = get_property(np, "reg", NULL);
+               reg = of_get_property(np, "reg", NULL);
                sprintf(dev->ofdev.dev.bus_id, "%1d.%08x:%.*s",
                        chip->lbus.index,
                        reg ? *reg : 0, MAX_NODE_NAME_SIZE, np->name);