diff options
Diffstat (limited to 'drivers/misc/eeprom/eeprom.c')
-rw-r--r-- | drivers/misc/eeprom/eeprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/eeprom/eeprom.c b/drivers/misc/eeprom/eeprom.c index 2fad790db3bf..60e3d91b5e03 100644 --- a/drivers/misc/eeprom/eeprom.c +++ b/drivers/misc/eeprom/eeprom.c | |||
@@ -114,7 +114,7 @@ static ssize_t eeprom_read(struct file *filp, struct kobject *kobj, | |||
114 | return count; | 114 | return count; |
115 | } | 115 | } |
116 | 116 | ||
117 | static struct bin_attribute eeprom_attr = { | 117 | static const struct bin_attribute eeprom_attr = { |
118 | .attr = { | 118 | .attr = { |
119 | .name = "eeprom", | 119 | .name = "eeprom", |
120 | .mode = S_IRUGO, | 120 | .mode = S_IRUGO, |