From yani.ioannou@gmail.com Tue May 17 03:53:17 2005 Message-ID: <2538186705051703441093903a@mail.gmail.com> Date: Tue, 17 May 2005 06:44:59 -0400 From: Yani Ioannou To: Greg KH Subject: Driver Core: include: update device attribute callbacks Signed-off-by: Yani Ioannou Signed-off-by: Greg Kroah-Hartman --- include/asm-ppc/ocp.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- gregkh-2.6.orig/include/asm-ppc/ocp.h 2005-05-09 09:07:19.000000000 -0700 +++ gregkh-2.6/include/asm-ppc/ocp.h 2005-05-17 23:20:16.000000000 -0700 @@ -189,7 +189,7 @@ /* Sysfs support */ #define OCP_SYSFS_ADDTL(type, format, name, field) \ static ssize_t \ -show_##name##_##field(struct device *dev, char *buf) \ +show_##name##_##field(struct device *dev, struct device_attribute *attr, char *buf) \ { \ struct ocp_device *odev = to_ocp_dev(dev); \ type *add = odev->def->additions; \