diff options
author | Joel Becker <joel.becker@oracle.com> | 2008-06-18 19:29:05 -0700 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-07-31 16:21:13 -0700 |
commit | ecb3d28c7edd58b54f16838c434b342ba9195bec (patch) | |
tree | 2babdc068dde924a905b0b25e673be0ca7a7dccd /include/asm-alpha/agp.h | |
parent | 70526b67443a980d5029d9cf06903bef731a4e96 (diff) | |
download | op-kernel-dev-ecb3d28c7edd58b54f16838c434b342ba9195bec.zip op-kernel-dev-ecb3d28c7edd58b54f16838c434b342ba9195bec.tar.gz |
[PATCH] configfs: Convenience macros for attribute definition.
Sysfs has the _ATTR() and _ATTR_RO() macros to make defining extended
form attributes easier. configfs should have something similiar.
- _CONFIGFS_ATTR() and _CONFIGFS_ATTR_RO() are the counterparts to the
sysfs macros.
- CONFIGFS_ATTR_STRUCT() creates the extended form attribute structure.
- CONFIGFS_ATTR_OPS() defines the show_attribute()/store_attribute()
operations that call the show()/store() operations of the extended
form configfs_attributes.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'include/asm-alpha/agp.h')
0 files changed, 0 insertions, 0 deletions