diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-06-18 19:09:59 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-06-28 21:41:33 +0200 |
commit | b505ff5e7291cca6379549297e3852ce3622d550 (patch) | |
tree | a424d99dc5dc7e9e9e40270c41b0f66ccbc58924 /arch/powerpc/include/asm/smu.h | |
parent | sparc/of: Move of_device fields into struct pdev_archdata (diff) | |
download | linux-b505ff5e7291cca6379549297e3852ce3622d550.tar.xz linux-b505ff5e7291cca6379549297e3852ce3622d550.zip |
of: kill struct of_device
Now that the device tree node pointer has been moved out of struct
of_device and into the common struct device, there isn't anything
unique about of_device anymore. In fact, there isn't much need
for a separate of_bus when all busses have access to OF style
probing.
arch/powerpc and arch/microblaze are moving away from using the of_bus
and using the regular platform bus instead for mmio devices. This
patch makes of_device the same as platform_device as a stepping stone
in migrating of_platform_drivers over to the platform bus.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/powerpc/include/asm/smu.h')
-rw-r--r-- | arch/powerpc/include/asm/smu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/smu.h b/arch/powerpc/include/asm/smu.h index 7ae2753da565..e3bdada8c542 100644 --- a/arch/powerpc/include/asm/smu.h +++ b/arch/powerpc/include/asm/smu.h @@ -457,8 +457,8 @@ extern void smu_poll(void); */ extern int smu_init(void); extern int smu_present(void); -struct of_device; -extern struct of_device *smu_get_ofdev(void); +struct platform_device; +extern struct platform_device *smu_get_ofdev(void); /* |