History

const_structs.checkpatch: add bus_type

Since commit d492cc2573a0 ("driver core: device.h: make struct bus_type a const *"), the driver core can properly handle constant struct bus_type. Make sure that new usages of the struct already enter the tree as const.

Ricardo B. Marliere committed 2 years ago

Commit a1fb1c71 parent 2e3fc6c1 file · +1 −0Browse files

Showing the changes to scripts/const_structs.checkpatch (1 of 1 file). Show all

Unified · Split

scripts/const_structs.checkpatch+1−0
@@ -2,6 +2,7 @@ acpi_dock_ops · 1 unmodified line
2address_space_operations2address_space_operations
3backlight_ops3backlight_ops
4block_device_operations4block_device_operations
5bus_type
5clk_ops6clk_ops
6comedi_lrange7comedi_lrange
7component_ops8component_ops