diff options
-rw-r--r-- | arch/powerpc/platforms/powernv/opal-elog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powernv/opal-elog.c b/arch/powerpc/platforms/powernv/opal-elog.c index 10268c41d830..925bad993e30 100644 --- a/arch/powerpc/platforms/powernv/opal-elog.c +++ b/arch/powerpc/platforms/powernv/opal-elog.c | |||
@@ -82,9 +82,9 @@ static ssize_t elog_ack_store(struct elog_obj *elog_obj, | |||
82 | } | 82 | } |
83 | 83 | ||
84 | static struct elog_attribute id_attribute = | 84 | static struct elog_attribute id_attribute = |
85 | __ATTR(id, 0666, elog_id_show, NULL); | 85 | __ATTR(id, S_IRUGO, elog_id_show, NULL); |
86 | static struct elog_attribute type_attribute = | 86 | static struct elog_attribute type_attribute = |
87 | __ATTR(type, 0666, elog_type_show, NULL); | 87 | __ATTR(type, S_IRUGO, elog_type_show, NULL); |
88 | static struct elog_attribute ack_attribute = | 88 | static struct elog_attribute ack_attribute = |
89 | __ATTR(acknowledge, 0660, elog_ack_show, elog_ack_store); | 89 | __ATTR(acknowledge, 0660, elog_ack_show, elog_ack_store); |
90 | 90 | ||