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
22 address_space_operations
33 backlight_ops
44 block_device_operations
5+bus_type
56 clk_ops
67 comedi_lrange
78 component_ops