diff options
Diffstat (limited to 'drivers/misc/ds1682.c')
-rw-r--r-- | drivers/misc/ds1682.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/ds1682.c b/drivers/misc/ds1682.c index 28bb495f0cf1..7231260ac287 100644 --- a/drivers/misc/ds1682.c +++ b/drivers/misc/ds1682.c | |||
@@ -173,7 +173,7 @@ static ssize_t ds1682_eeprom_write(struct file *filp, struct kobject *kobj, | |||
173 | return count; | 173 | return count; |
174 | } | 174 | } |
175 | 175 | ||
176 | static struct bin_attribute ds1682_eeprom_attr = { | 176 | static const struct bin_attribute ds1682_eeprom_attr = { |
177 | .attr = { | 177 | .attr = { |
178 | .name = "eeprom", | 178 | .name = "eeprom", |
179 | .mode = S_IRUGO | S_IWUSR, | 179 | .mode = S_IRUGO | S_IWUSR, |