]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
macintosh: Use linux/of_{device,platform}.h instead of asm
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 23 May 2008 06:27:02 +0000 (16:27 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 30 Jun 2008 12:30:33 +0000 (22:30 +1000)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/smu.c
drivers/macintosh/therm_adt746x.c
drivers/macintosh/therm_pm72.c
drivers/macintosh/therm_windtunnel.c

index d86d57af282abde6bca52d369e480ca543651746..1272184a3a6fe7088ec1ab151737c12aa87f887a 100644 (file)
@@ -35,6 +35,8 @@
 #include <linux/sysdev.h>
 #include <linux/poll.h>
 #include <linux/mutex.h>
+#include <linux/of_device.h>
+#include <linux/of_platform.h>
 
 #include <asm/byteorder.h>
 #include <asm/io.h>
@@ -45,8 +47,6 @@
 #include <asm/sections.h>
 #include <asm/abs_addr.h>
 #include <asm/uaccess.h>
-#include <asm/of_device.h>
-#include <asm/of_platform.h>
 
 #define VERSION "0.7"
 #define AUTHOR  "(c) 2005 Benjamin Herrenschmidt, IBM Corp."
index 5366dc93fb383b2d18125eda47f477b285db3a3d..22bf981d393b4e9ec9a0ff7253e4640e4db8bd9a 100644 (file)
 #include <linux/kthread.h>
 #include <linux/moduleparam.h>
 #include <linux/freezer.h>
+#include <linux/of_platform.h>
 
 #include <asm/prom.h>
 #include <asm/machdep.h>
 #include <asm/io.h>
 #include <asm/system.h>
 #include <asm/sections.h>
-#include <asm/of_platform.h>
 
 #undef DEBUG
 
index ddfb426a9abd01a57996e23afbad9db0c2e3d93e..817607e2af6a9c89193cc390ab16d2455dc7a0f7 100644 (file)
 #include <linux/i2c.h>
 #include <linux/kthread.h>
 #include <linux/mutex.h>
+#include <linux/of_device.h>
+#include <linux/of_platform.h>
 #include <asm/prom.h>
 #include <asm/machdep.h>
 #include <asm/io.h>
 #include <asm/system.h>
 #include <asm/sections.h>
-#include <asm/of_device.h>
 #include <asm/macio.h>
-#include <asm/of_platform.h>
 
 #include "therm_pm72.h"
 
index d11821af3b8d07e7a70c5d07f3ac84bc5859b52e..6d9e7ac7122b3e77191a20b7024debfe104bc32d 100644 (file)
 #include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/kthread.h>
+#include <linux/of_platform.h>
 
 #include <asm/prom.h>
 #include <asm/machdep.h>
 #include <asm/io.h>
 #include <asm/system.h>
 #include <asm/sections.h>
-#include <asm/of_platform.h>
 #include <asm/macio.h>
 
 #define LOG_TEMP               0                       /* continously log temperature */