diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2006-01-09 23:22:24 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-23 23:21:48 +0100 |
commit | 42d3b83fecb7b576d477244347982baa02fa4f44 (patch) | |
tree | 42c799763f3b908a554f050c1b8990e5f41bb7ac /include/asm-sparc64/reg.h | |
parent | [PATCH] reduce size of bio mempools (diff) | |
download | linux-42d3b83fecb7b576d477244347982baa02fa4f44.tar.xz linux-42d3b83fecb7b576d477244347982baa02fa4f44.zip |
[PATCH] hwmon: Allow sensor attributes arrays
This patch refactors SENSOR_DEVICE_ATTR macro. First it creates a new
macro SENSOR_ATTR() which expands to an initialization expression, then
it uses that in SENSOR_DEVICE_ATTR, which declares and initializes a
struct sensor_device_attribute.
IOW, SENSOR_ATTR() imitates __ATTR() in include/linux/device.h.
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/asm-sparc64/reg.h')
0 files changed, 0 insertions, 0 deletions