From 018a21625ba472be980ebcd2538a4d2f4c63cea0 Mon Sep 17 00:00:00 2001 From: Jan Veldeman Date: Sun, 31 Jul 2005 13:12:10 +0200 Subject: [PATCH] --- yaml --- r: 7211 b: refs/heads/master c: 91e49001b9a7fe5dc2fa5b56039fbca9aa638ccc h: refs/heads/master i: 7209: b77fe1a31f80f398e8d60dc21495e294d5e4b9f8 7207: e037d67c0acb049adaf7cd2884fee5e22191ece7 v: v3 --- [refs] | 2 +- trunk/Documentation/filesystems/sysfs.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index b3e0d0b3b66d..78539d2d1ab6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f8d825bfb8d2a7546eeb57569d0eedf8c5565d28 +refs/heads/master: 91e49001b9a7fe5dc2fa5b56039fbca9aa638ccc diff --git a/trunk/Documentation/filesystems/sysfs.txt b/trunk/Documentation/filesystems/sysfs.txt index 4b86ec283720..c8bce82ddcac 100644 --- a/trunk/Documentation/filesystems/sysfs.txt +++ b/trunk/Documentation/filesystems/sysfs.txt @@ -99,14 +99,14 @@ struct device_attribute dev_attr_##_name = { \ For example, declaring -static DEVICE_ATTR(foo, 0644, show_foo, store_foo); +static DEVICE_ATTR(foo, S_IWUSR | S_IRUGO, show_foo, store_foo); is equivalent to doing: static struct device_attribute dev_attr_foo = { .attr = { .name = "foo", - .mode = 0644, + .mode = S_IWUSR | S_IRUGO, }, .show = show_foo, .store = store_foo,