Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44379
b: refs/heads/master
c: df4365c
h: refs/heads/master
i:
  44377: da094e1
  44375: e2d65ad
v: v3
  • Loading branch information
Robert P. J. Day authored and Adrian Bunk committed Dec 12, 2006
1 parent 94a73ed commit da7a233
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bef1f40261c8bc5ad2ca70a5a1760b0eb79b6812
refs/heads/master: df4365ce8829e84e8e6fe7d2371ea8f40630e865
25 changes: 0 additions & 25 deletions trunk/include/linux/configfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,31 +160,6 @@ struct configfs_group_operations {
void (*drop_item)(struct config_group *group, struct config_item *item);
};



/**
* Use these macros to make defining attributes easier. See include/linux/device.h
* for examples..
*/

#if 0
#define __ATTR(_name,_mode,_show,_store) { \
.attr = {.ca_name = __stringify(_name), .ca_mode = _mode, .ca_owner = THIS_MODULE }, \
.show = _show, \
.store = _store, \
}

#define __ATTR_RO(_name) { \
.attr = { .ca_name = __stringify(_name), .ca_mode = 0444, .ca_owner = THIS_MODULE }, \
.show = _name##_show, \
}

#define __ATTR_NULL { .attr = { .name = NULL } }

#define attr_name(_attr) (_attr).attr.name
#endif


struct configfs_subsystem {
struct config_group su_group;
struct semaphore su_sem;
Expand Down

0 comments on commit da7a233

Please sign in to comment.