2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00

const_structs.checkpatch: add bin_attribute

Now that the sysfs core can handle "const struct bin_attribute", make
sure that new usages of the struct already enter the tree as const.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20250530-sysfs-const-bin_attr-final-v3-1-724bfcf05b99@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Thomas Weißschuh 2025-05-30 05:54:35 +02:00 committed by Greg Kroah-Hartman
parent 2a1ea59de8
commit 2841ef8d96

View File

@ -1,6 +1,7 @@
acpi_dock_ops acpi_dock_ops
address_space_operations address_space_operations
backlight_ops backlight_ops
bin_attribute
block_device_operations block_device_operations
bus_type bus_type
clk_ops clk_ops