diff options
Diffstat (limited to 'Documentation/filesystems/sysfs.txt')
-rw-r--r-- | Documentation/filesystems/sysfs.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/filesystems/sysfs.txt b/Documentation/filesystems/sysfs.txt index a1426cabcef1..41411b0c60a3 100644 --- a/Documentation/filesystems/sysfs.txt +++ b/Documentation/filesystems/sysfs.txt | |||
@@ -344,7 +344,9 @@ struct bus_attribute { | |||
344 | 344 | ||
345 | Declaring: | 345 | Declaring: |
346 | 346 | ||
347 | BUS_ATTR(_name, _mode, _show, _store) | 347 | static BUS_ATTR_RW(name); |
348 | static BUS_ATTR_RO(name); | ||
349 | static BUS_ATTR_WO(name); | ||
348 | 350 | ||
349 | Creation/Removal: | 351 | Creation/Removal: |
350 | 352 | ||