[PATCH 2.6.12-rc4 12/12] include: (dynamic sysfs callbacks) update device attribute callbacks

From: Yani Ioannou
Date: Sat May 14 2005 - 05:05:15 EST


Signed-off-by: Yani Ioannou <yani.ioannou@xxxxxxxxx>

---
ocp.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


diff -uprN -X dontdiff linux-2.6.12-rc4-sysfsdyncallback-deviceattr/include/asm-ppc/ocp.h linux-2.6.12-rc4-sysfsdyncallback-deviceattr-nowarn/include/asm-ppc/ocp.h
--- linux-2.6.12-rc4-sysfsdyncallback-deviceattr/include/asm-ppc/ocp.h 2005-05-11 00:28:15.000000000 -0400
+++ linux-2.6.12-rc4-sysfsdyncallback-deviceattr-nowarn/include/asm-ppc/ocp.h 2005-05-11 00:35:02.000000000 -0400
@@ -189,7 +189,7 @@ extern void ocp_for_each_device(void(*ca
/* 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, char *buf, void *private) \
{ \
struct ocp_device *odev = to_ocp_dev(dev); \
type *add = odev->def->additions; \