projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
060b884
)
[PATCH] Driver Core: include: update device attribute callbacks
author
Yani Ioannou
<yani.ioannou@gmail.com>
Tue, 17 May 2005 10:44:59 +0000
(06:44 -0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 20 Jun 2005 22:15:35 +0000
(15:15 -0700)
Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/asm-ppc/ocp.h
patch
|
blob
|
history
diff --git
a/include/asm-ppc/ocp.h
b/include/asm-ppc/ocp.h
index b98db3cdae83c3505c51fa386ed526a3f8e3b1de..c726f18451906536ea29f337251d633035b2f98e 100644
(file)
--- 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; \