aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/eeprom/max6875.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/eeprom/max6875.c')
-rw-r--r--drivers/misc/eeprom/max6875.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/eeprom/max6875.c b/drivers/misc/eeprom/max6875.c
index e4dd93b2518c..0e32709d1022 100644
--- a/drivers/misc/eeprom/max6875.c
+++ b/drivers/misc/eeprom/max6875.c
@@ -124,7 +124,7 @@ static ssize_t max6875_read(struct file *filp, struct kobject *kobj,
124 return count; 124 return count;
125} 125}
126 126
127static struct bin_attribute user_eeprom_attr = { 127static const struct bin_attribute user_eeprom_attr = {
128 .attr = { 128 .attr = {
129 .name = "eeprom", 129 .name = "eeprom",
130 .mode = S_IRUGO, 130 .mode = S_IRUGO,