diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-07-22 18:04:30 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-07-24 11:58:22 -0400 |
commit | cd4cd7306a403f62ef3ca783b9d1cf2a03e595ed (patch) | |
tree | 2eceb6990f5a0097f158c91316ee93fc2db5282d /arch/sparc/include/asm | |
parent | a454dc50590c6d758abba016a303a221f2f1b4b8 (diff) |
sparc: remove references to of_device and to_of_device
of_device is just a #define alias to platform_device. This patch
replaces all references to it with platform_device.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm')
-rw-r--r-- | arch/sparc/include/asm/prom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/prom.h b/arch/sparc/include/asm/prom.h index d35df5ace18a..c82a7da25f9f 100644 --- a/arch/sparc/include/asm/prom.h +++ b/arch/sparc/include/asm/prom.h | |||
@@ -57,7 +57,7 @@ extern void of_iounmap(struct resource *res, void __iomem *base, unsigned long s | |||
57 | 57 | ||
58 | /* These routines are here to provide compatibility with how powerpc | 58 | /* These routines are here to provide compatibility with how powerpc |
59 | * handles IRQ mapping for OF device nodes. We precompute and permanently | 59 | * handles IRQ mapping for OF device nodes. We precompute and permanently |
60 | * register them in the of_device objects, whereas powerpc computes them | 60 | * register them in the platform_device objects, whereas powerpc computes them |
61 | * on request. | 61 | * on request. |
62 | */ | 62 | */ |
63 | static inline void irq_dispose_mapping(unsigned int virq) | 63 | static inline void irq_dispose_mapping(unsigned int virq) |