[PATCH] ppc64: SMU driver update & i2c support
[linux-2.6.git] / drivers / macintosh / therm_windtunnel.c
index cbb72eb..6aaa1df 100644 (file)
@@ -504,7 +504,7 @@ g4fan_init( void )
        }
        if( !(np=of_find_node_by_name(NULL, "fan")) )
                return -ENODEV;
-       x.of_dev = of_platform_device_create( np, "temperature" );
+       x.of_dev = of_platform_device_create(np, "temperature", NULL);
        of_node_put( np );
 
        if( !x.of_dev ) {