summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/fsl_pmc.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-07-22 21:52:34 (GMT)
committerGrant Likely <grant.likely@secretlab.ca>2010-07-24 15:58:21 (GMT)
commita454dc50590c6d758abba016a303a221f2f1b4b8 (patch)
tree052fde0b724165c6eff3253d795221ef59f069cc /arch/powerpc/sysdev/fsl_pmc.c
parent94a0cb1fc61ab7a0d47d268a7764374efeb2160b (diff)
downloadlinux-fsl-qoriq-a454dc50590c6d758abba016a303a221f2f1b4b8.tar.xz
powerpc: 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>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_pmc.c')
-rw-r--r--arch/powerpc/sysdev/fsl_pmc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/fsl_pmc.c b/arch/powerpc/sysdev/fsl_pmc.c
index 9082eb9..44de855 100644
--- a/arch/powerpc/sysdev/fsl_pmc.c
+++ b/arch/powerpc/sysdev/fsl_pmc.c
@@ -58,7 +58,8 @@ static struct platform_suspend_ops pmc_suspend_ops = {
.enter = pmc_suspend_enter,
};
-static int pmc_probe(struct of_device *ofdev, const struct of_device_id *id)
+static int pmc_probe(struct platform_device *ofdev,
+ const struct of_device_id *id)
{
pmc_regs = of_iomap(ofdev->dev.of_node, 0);
if (!pmc_regs)