From: Yani Ioannou Date: Tue, 17 May 2005 10:44:59 +0000 (-0400) Subject: [PATCH] Driver Core: include: update device attribute callbacks X-Git-Tag: v2.6.13-rc1~68^2~583^2^2~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2d03e1b3f00f1c5971463ab0101bef0c521ad3b;p=linux-2.6 [PATCH] Driver Core: include: update device attribute callbacks Signed-off-by: Yani Ioannou Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/asm-ppc/ocp.h b/include/asm-ppc/ocp.h index b98db3cdae..c726f18451 100644 --- a/include/asm-ppc/ocp.h +++ b/include/asm-ppc/ocp.h @@ -189,7 +189,7 @@ extern void ocp_for_each_device(void(*callback)(struct ocp_device *, void *arg), /* 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; \