]> git.ipfire.org Git - people/ms/linux.git/blobdiff - drivers/rtc/rtc-ds1307.c
Importing "grsecurity-3.1-3.19.2-201503201903.patch"
[people/ms/linux.git] / drivers / rtc / rtc-ds1307.c
index 4ffabb322a9a55069a6af31fc82fe5d9da83b9bd..1f87fca06cd2f7fdd034f5d456b87de80e37f130 100644 (file)
@@ -107,7 +107,7 @@ struct ds1307 {
        u8                      offset; /* register's offset */
        u8                      regs[11];
        u16                     nvram_offset;
-       struct bin_attribute    *nvram;
+       bin_attribute_no_const  *nvram;
        enum ds_type            type;
        unsigned long           flags;
 #define HAS_NVRAM      0               /* bit 0 == sysfs file active */