2005-05-11 07:57:01

by Yani Ioannou

[permalink] [raw]
Subject: [PATCH 2.6.12-rc4 1/3] (dynamic sysfs callbacks) device_attribute

Hi,

This patch adds support to the sysfs device_attribute to pass the new
void * attribute member to it's callback functions. The device
attribute will benefit the most from the dynamic sysfs callback patch
compared to the other attributes simply because of it's greater usage.

The first patch simply adds the void * parameter to the device
attribute function types and passes them when calling the callbacks.

Signed-off-by: Yani Ioannou <[email protected]>

Thanks,
Yani

---
drivers/base/core.c | 4 ++--
include/linux/device.h | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)


Attachments:
(No filename) (608.00 B)
patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr.diff (1.59 kB)
Download all attachments