]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/macintosh/rack-meter.c
Merge branch 'for-2.6.27' of git://linux-nfs.org/~bfields/linux
[karo-tx-linux.git] / drivers / macintosh / rack-meter.c
index f83fad2a3ff451ec8702e9048f94521cf56a1c98..2c21d4f25cc82e85ab138aca5e4490f4166865f3 100644 (file)
@@ -30,7 +30,6 @@
 #include <asm/machdep.h>
 #include <asm/pmac_feature.h>
 #include <asm/dbdma.h>
-#include <asm/dbdma.h>
 #include <asm/macio.h>
 #include <asm/keylargo.h>
 
@@ -387,7 +386,7 @@ static int __devinit rackmeter_probe(struct macio_dev* mdev,
               if (strcmp(np->name, "lightshow") == 0)
                       break;
               if ((strcmp(np->name, "sound") == 0) &&
-                  get_property(np, "virtual", NULL) != NULL)
+                  of_get_property(np, "virtual", NULL) != NULL)
                       break;
        }
        if (np == NULL) {