Skip to content

Commit

Permalink
[PATCH] Driver Core: include: update device attribute callbacks
Browse files Browse the repository at this point in the history
Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Yani Ioannou authored and Greg Kroah-Hartman committed Jun 20, 2005
1 parent 060b884 commit f2d03e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-ppc/ocp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit f2d03e1

Please sign in to comment.