aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-11-18 11:21:04 -0800
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-04-17 16:15:53 -0400
commitee7e6d00b8c287434465491d6a9f913ec9683885 (patch)
tree38dc5c70c798667eb5bde8587eacfd2b376f3664 /drivers/staging
parentd17382393cf88f5cd1c85c7f95795a8a163bbc3e (diff)
Staging: frontier: fix up my fixup for some sysfs attribute permissions
commit 2a767fda5d0d8dcff465724dfad6ee131489b3f2 upstream. They should be writable by root, not readable. Doh, stupid me with the wrong flags. Reported-by: Jonathan Cameron <jic23@cam.ac.uk> Cc: David Taht <d@teklibre.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/frontier/tranzport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/frontier/tranzport.c b/drivers/staging/frontier/tranzport.c
index 7218334d96fc..9d60e9218df2 100644
--- a/drivers/staging/frontier/tranzport.c
+++ b/drivers/staging/frontier/tranzport.c
@@ -202,7 +202,7 @@ static void usb_tranzport_abort_transfers(struct usb_tranzport *dev)
t->value = temp; \
return count; \
} \
- static DEVICE_ATTR(value, S_IRUSR | S_IRUGO, show_##value, set_##value);
+ static DEVICE_ATTR(value, S_IWUSR | S_IRUGO, show_##value, set_##value);
show_int(enable);
show_int(offline);