[PATCH] ppc64: SMU driver update & i2c support
[linux-2.6.git] / drivers / macintosh / therm_adt746x.c
index c9ca111..f386966 100644 (file)
@@ -599,7 +599,7 @@ thermostat_init(void)
                sensor_location[2] = "?";
        }
 
-       of_dev = of_platform_device_create(np, "temperatures");
+       of_dev = of_platform_device_create(np, "temperatures", NULL);
        
        if (of_dev == NULL) {
                printk(KERN_ERR "Can't register temperatures device !\n");