aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc64/kernel/of_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/kernel/of_device.c')
-rw-r--r--arch/ppc64/kernel/of_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc64/kernel/of_device.c b/arch/ppc64/kernel/of_device.c
index f4c825a69fa0..66bd5ab7c25a 100644
--- a/arch/ppc64/kernel/of_device.c
+++ b/arch/ppc64/kernel/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;