diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-05-23 02:27:02 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-06-30 08:30:33 -0400 |
commit | ad9e05aef7c861280b404d38fb50a8ff11d01e11 (patch) | |
tree | 959599f50faa66552cd7abb810edd40b33755b91 | |
parent | 7587cb2f12d47f8160bcdb1328b90f3055291bfc (diff) |
macintosh: Use linux/of_{device,platform}.h instead of asm
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>
-rw-r--r-- | drivers/macintosh/smu.c | 4 | ||||
-rw-r--r-- | drivers/macintosh/therm_adt746x.c | 2 | ||||
-rw-r--r-- | drivers/macintosh/therm_pm72.c | 4 | ||||
-rw-r--r-- | drivers/macintosh/therm_windtunnel.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index d86d57af282a..1272184a3a6f 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c | |||
@@ -35,6 +35,8 @@ | |||
35 | #include <linux/sysdev.h> | 35 | #include <linux/sysdev.h> |
36 | #include <linux/poll.h> | 36 | #include <linux/poll.h> |
37 | #include <linux/mutex.h> | 37 | #include <linux/mutex.h> |
38 | #include <linux/of_device.h> | ||
39 | #include <linux/of_platform.h> | ||
38 | 40 | ||
39 | #include <asm/byteorder.h> | 41 | #include <asm/byteorder.h> |
40 | #include <asm/io.h> | 42 | #include <asm/io.h> |
@@ -45,8 +47,6 @@ | |||
45 | #include <asm/sections.h> | 47 | #include <asm/sections.h> |
46 | #include <asm/abs_addr.h> | 48 | #include <asm/abs_addr.h> |
47 | #include <asm/uaccess.h> | 49 | #include <asm/uaccess.h> |
48 | #include <asm/of_device.h> | ||
49 | #include <asm/of_platform.h> | ||
50 | 50 | ||
51 | #define VERSION "0.7" | 51 | #define VERSION "0.7" |
52 | #define AUTHOR "(c) 2005 Benjamin Herrenschmidt, IBM Corp." | 52 | #define AUTHOR "(c) 2005 Benjamin Herrenschmidt, IBM Corp." |
diff --git a/drivers/macintosh/therm_adt746x.c b/drivers/macintosh/therm_adt746x.c index 5366dc93fb38..22bf981d393b 100644 --- a/drivers/macintosh/therm_adt746x.c +++ b/drivers/macintosh/therm_adt746x.c | |||
@@ -24,13 +24,13 @@ | |||
24 | #include <linux/kthread.h> | 24 | #include <linux/kthread.h> |
25 | #include <linux/moduleparam.h> | 25 | #include <linux/moduleparam.h> |
26 | #include <linux/freezer.h> | 26 | #include <linux/freezer.h> |
27 | #include <linux/of_platform.h> | ||
27 | 28 | ||
28 | #include <asm/prom.h> | 29 | #include <asm/prom.h> |
29 | #include <asm/machdep.h> | 30 | #include <asm/machdep.h> |
30 | #include <asm/io.h> | 31 | #include <asm/io.h> |
31 | #include <asm/system.h> | 32 | #include <asm/system.h> |
32 | #include <asm/sections.h> | 33 | #include <asm/sections.h> |
33 | #include <asm/of_platform.h> | ||
34 | 34 | ||
35 | #undef DEBUG | 35 | #undef DEBUG |
36 | 36 | ||
diff --git a/drivers/macintosh/therm_pm72.c b/drivers/macintosh/therm_pm72.c index ddfb426a9abd..817607e2af6a 100644 --- a/drivers/macintosh/therm_pm72.c +++ b/drivers/macintosh/therm_pm72.c | |||
@@ -123,14 +123,14 @@ | |||
123 | #include <linux/i2c.h> | 123 | #include <linux/i2c.h> |
124 | #include <linux/kthread.h> | 124 | #include <linux/kthread.h> |
125 | #include <linux/mutex.h> | 125 | #include <linux/mutex.h> |
126 | #include <linux/of_device.h> | ||
127 | #include <linux/of_platform.h> | ||
126 | #include <asm/prom.h> | 128 | #include <asm/prom.h> |
127 | #include <asm/machdep.h> | 129 | #include <asm/machdep.h> |
128 | #include <asm/io.h> | 130 | #include <asm/io.h> |
129 | #include <asm/system.h> | 131 | #include <asm/system.h> |
130 | #include <asm/sections.h> | 132 | #include <asm/sections.h> |
131 | #include <asm/of_device.h> | ||
132 | #include <asm/macio.h> | 133 | #include <asm/macio.h> |
133 | #include <asm/of_platform.h> | ||
134 | 134 | ||
135 | #include "therm_pm72.h" | 135 | #include "therm_pm72.h" |
136 | 136 | ||
diff --git a/drivers/macintosh/therm_windtunnel.c b/drivers/macintosh/therm_windtunnel.c index d11821af3b8d..6d9e7ac7122b 100644 --- a/drivers/macintosh/therm_windtunnel.c +++ b/drivers/macintosh/therm_windtunnel.c | |||
@@ -37,13 +37,13 @@ | |||
37 | #include <linux/slab.h> | 37 | #include <linux/slab.h> |
38 | #include <linux/init.h> | 38 | #include <linux/init.h> |
39 | #include <linux/kthread.h> | 39 | #include <linux/kthread.h> |
40 | #include <linux/of_platform.h> | ||
40 | 41 | ||
41 | #include <asm/prom.h> | 42 | #include <asm/prom.h> |
42 | #include <asm/machdep.h> | 43 | #include <asm/machdep.h> |
43 | #include <asm/io.h> | 44 | #include <asm/io.h> |
44 | #include <asm/system.h> | 45 | #include <asm/system.h> |
45 | #include <asm/sections.h> | 46 | #include <asm/sections.h> |
46 | #include <asm/of_platform.h> | ||
47 | #include <asm/macio.h> | 47 | #include <asm/macio.h> |
48 | 48 | ||
49 | #define LOG_TEMP 0 /* continously log temperature */ | 49 | #define LOG_TEMP 0 /* continously log temperature */ |