Messages in this thread | | | Date | Tue, 19 Dec 2023 19:27:19 +0000 | From | "Arnd Bergmann" <> | Subject | Re: [PATCH] [ARM] locomo: make locomo_bus_type constant and static |
| |
On Tue, Dec 19, 2023, at 18:33, Greg Kroah-Hartman wrote: > 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.
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
| |