summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/psycho_common.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-07-23 00:04:30 +0200
committerGrant Likely <grant.likely@secretlab.ca>2010-07-24 17:58:22 +0200
commitcd4cd7306a403f62ef3ca783b9d1cf2a03e595ed (patch)
tree2eceb6990f5a0097f158c91316ee93fc2db5282d /arch/sparc/kernel/psycho_common.h
parentpowerpc: remove references to of_device and to_of_device (diff)
downloadlinux-cd4cd7306a403f62ef3ca783b9d1cf2a03e595ed.tar.xz
linux-cd4cd7306a403f62ef3ca783b9d1cf2a03e595ed.zip
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/kernel/psycho_common.h')
-rw-r--r--arch/sparc/kernel/psycho_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/psycho_common.h b/arch/sparc/kernel/psycho_common.h
index 092c278ef28d..590b4ed8ab5e 100644
--- a/arch/sparc/kernel/psycho_common.h
+++ b/arch/sparc/kernel/psycho_common.h
@@ -42,7 +42,7 @@ extern int psycho_iommu_init(struct pci_pbm_info *pbm, int tsbsize,
unsigned long write_complete_offset);
extern void psycho_pbm_init_common(struct pci_pbm_info *pbm,
- struct of_device *op,
+ struct platform_device *op,
const char *chip_name, int chip_type);
#endif /* _PSYCHO_COMMON_H */