Skip to content
Commit 7fd9d28d authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Wolfram Sang
Browse files

i2c: slave-eeprom: Constify 'struct bin_attribute'



The sysfs core now allows instances of 'struct bin_attribute' to be
moved into read-only memory. Make use of that to protect them against
accidental or malicious modifications.

Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
parent 3cfe39b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment