summaryrefslogtreecommitdiffstats
path: root/arch/ppc/kernel/pci.c
diff options
context:
space:
mode:
authorYani Ioannou <yani.ioannou@gmail.com>2005-05-17 12:40:51 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:15:32 +0200
commitff381d2223a30ee70752791fd9c3588d8f1cab77 (patch)
tree124dab1e725ad0d16f1122696a67f1657ea97a8f /arch/ppc/kernel/pci.c
parent[PATCH] Driver core: Documentation: update device attribute callbacks (diff)
downloadlinux-ff381d2223a30ee70752791fd9c3588d8f1cab77.tar.xz
linux-ff381d2223a30ee70752791fd9c3588d8f1cab77.zip
[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/ppc/kernel/pci.c')
-rw-r--r--arch/ppc/kernel/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/kernel/pci.c b/arch/ppc/kernel/pci.c
index 47a15306823a..6d7b92d72458 100644
--- a/arch/ppc/kernel/pci.c
+++ b/arch/ppc/kernel/pci.c
@@ -1003,7 +1003,7 @@ pci_create_OF_bus_map(void)
}
}
-static ssize_t pci_show_devspec(struct device *dev, char *buf)
+static ssize_t pci_show_devspec(struct device *dev, struct device_attribute *attr, char *buf)
{
struct pci_dev *pdev;
struct device_node *np;