* [PATCH 2.6.12-rc4 12/12] include: (dynamic sysfs callbacks) update device attribute callbacks
@ 2005-05-14 9:34 Yani Ioannou
0 siblings, 0 replies; only message in thread
From: Yani Ioannou @ 2005-05-14 9:34 UTC (permalink / raw)
To: Greg KH, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 61 bytes --]
Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com>
---
[-- Attachment #2: patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-nowarn.diff-include.diff.diffstat.txt --]
[-- Type: text/plain, Size: 67 bytes --]
ocp.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
[-- Attachment #3: patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-nowarn.diff-include.diff --]
[-- Type: text/x-patch, Size: 782 bytes --]
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; \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-14 10:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-14 9:34 [PATCH 2.6.12-rc4 12/12] include: (dynamic sysfs callbacks) update device attribute callbacks Yani Ioannou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®