of/device: Replace struct of_device with struct platform_device
[sfrench/cifs-2.6.git] / drivers / macintosh / therm_adt746x.c
index c42eeb43042daa92d9f04e22b2205ce6d1d2a33d..d0d221332db0562e424cf8e98304e8fbd2013947 100644 (file)
@@ -84,7 +84,7 @@ struct thermostat {
 
 static enum {ADT7460, ADT7467} therm_type;
 static int therm_bus, therm_address;
-static struct of_device * of_dev;
+static struct platform_device * of_dev;
 static struct thermostat* thermostat;
 static struct task_struct *thread_therm = NULL;