diff options
Diffstat (limited to 'drivers/net/can/at91_can.c')
-rw-r--r-- | drivers/net/can/at91_can.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/can/at91_can.c b/drivers/net/can/at91_can.c index f37ce0e1b603..d98c69045b17 100644 --- a/drivers/net/can/at91_can.c +++ b/drivers/net/can/at91_can.c | |||
@@ -1224,8 +1224,7 @@ static ssize_t at91_sysfs_set_mb0_id(struct device *dev, | |||
1224 | return ret; | 1224 | return ret; |
1225 | } | 1225 | } |
1226 | 1226 | ||
1227 | static DEVICE_ATTR(mb0_id, S_IWUSR | S_IRUGO, | 1227 | static DEVICE_ATTR(mb0_id, 0644, at91_sysfs_show_mb0_id, at91_sysfs_set_mb0_id); |
1228 | at91_sysfs_show_mb0_id, at91_sysfs_set_mb0_id); | ||
1229 | 1228 | ||
1230 | static struct attribute *at91_sysfs_attrs[] = { | 1229 | static struct attribute *at91_sysfs_attrs[] = { |
1231 | &dev_attr_mb0_id.attr, | 1230 | &dev_attr_mb0_id.attr, |