summaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/of_device.c
diff options
context:
space:
mode:
authorYani Ioannou <yani.ioannou@gmail.com>2005-05-17 06:40:51 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-20 15:15:32 -0700
commitff381d2223a30ee70752791fd9c3588d8f1cab77 (patch)
tree124dab1e725ad0d16f1122696a67f1657ea97a8f /arch/ppc64/kernel/of_device.c
parent3eb8c7836eb074b61d63597be3e4f085814ac4c0 (diff)
downloadop-kernel-dev-ff381d2223a30ee70752791fd9c3588d8f1cab77.zip
op-kernel-dev-ff381d2223a30ee70752791fd9c3588d8f1cab77.tar.gz
[PATCH] Driver Core: arch: update device attribute callbacks
Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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 f4c825a..66bd5ab7 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;
OpenPOWER on IntegriCloud