]> www.infradead.org Git - users/willy/pagecache.git/commit
module: sysfs: Use const 'struct bin_attribute'
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 27 Dec 2024 13:23:25 +0000 (14:23 +0100)
committerPetr Pavlu <petr.pavlu@suse.com>
Sun, 26 Jan 2025 12:05:24 +0000 (13:05 +0100)
commitb83815afaeecf4448cdd54b3f9dc2623ebbc3576
treee22fe4aacb9392eb5c70c64e0bfbf6b2c3eaa2e3
parent4723f16de64e1580ec5dc15173f8da0b316b2257
module: sysfs: Use const 'struct bin_attribute'

The sysfs core is switching to 'const struct bin_attribute's.
Prepare for that.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Petr Pavlu <petr.pavlu@suse.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20241227-sysfs-const-bin_attr-module-v2-6-e267275f0f37@weissschuh.net
Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
kernel/module/sysfs.c