diff options
author | Greg Kroah-Hartman <[email protected]> | 2023-12-19 19:33:06 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-01-04 14:38:57 +0100 |
commit | 2e9bf5cc912365d20e3255a0779f5516157b923e (patch) | |
tree | ee314970e74d80611f9ca91e184a97d6c01582ca /scripts/gdb/linux/lists.py | |
parent | 86438841e48f6361f0a6a04805b7d7813738761f (diff) |
locomo: make locomo_bus_type constant and static
Now that the driver core can properly handle constant struct bus_type,
move the locomo_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.
It's also never used outside of arch/arm/common/locomo.c so make it
static and don't export it as no one is using it.
Cc: Russell King <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Uwe Kleine-König <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/2023121905-idiom-opossum-1ba3@gregkh
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions