summaryrefslogtreecommitdiffstats
path: root/arch/ppc/syslib/of_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/syslib/of_device.c')
-rw-r--r--arch/ppc/syslib/of_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/syslib/of_device.c b/arch/ppc/syslib/of_device.c
index 46269ed21ae..49c0e34e2d6 100644
--- a/arch/ppc/syslib/of_device.c
+++ b/arch/ppc/syslib/of_device.c
@@ -161,7 +161,7 @@ void of_unregister_driver(struct of_platform_driver *drv)
}
-static ssize_t dev_show_devspec(struct device *dev, char *buf)
+static ssize_t dev_show_devspec(struct device *dev, struct device_attribute *attr, char *buf)
{
struct of_device *ofdev;