of/device: Replace struct of_device with struct platform_device
[pandora-kernel.git] / drivers / hwmon / ams / ams.h
index b28d7e2..90f094d 100644 (file)
@@ -23,7 +23,7 @@ struct ams {
 
        /* General properties */
        struct device_node *of_node;
-       struct of_device *of_dev;
+       struct platform_device *of_dev;
        char has_device;
        char vflag;
        u32 orient1;