Merge branch 'for-linus' of git://android.kernel.org/kernel/tegra
[sfrench/cifs-2.6.git] / arch / powerpc / sysdev / qe_lib / qe.c
index 093e0ae1a9418fc0830be5c6bee35041c774d198..3da8014931c9c7a99afcebf52814b50d03d02f35 100644 (file)
@@ -651,14 +651,15 @@ unsigned int qe_get_num_of_snums(void)
 EXPORT_SYMBOL(qe_get_num_of_snums);
 
 #if defined(CONFIG_SUSPEND) && defined(CONFIG_PPC_85xx)
-static int qe_resume(struct of_device *ofdev)
+static int qe_resume(struct platform_device *ofdev)
 {
        if (!qe_alive_during_sleep())
                qe_reset();
        return 0;
 }
 
-static int qe_probe(struct of_device *ofdev, const struct of_device_id *id)
+static int qe_probe(struct platform_device *ofdev,
+                   const struct of_device_id *id)
 {
        return 0;
 }