This series is part of an effort to cleanup the users of the driver core, as can be seen in many recent patches authored by Greg across the tree (e.g. [1]). Patch 1/4 is a prerequisite to 2/4, but the others have no dependency. They were built using bootlin's without warnings using powerpc64le-power8--glibc--stable-2023.11-1 toolchain.
--- [1]: https://lore.kernel.org/lkml/?q=f%3Agregkh%40linuxfoundation.org+s%3A%22make%22+and+s%3A%22const%22 Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> Signed-off-by: Ricardo B. Marliere <rica...@marliere.net> --- Ricardo B. Marliere (4): powerpc: vio: move device attributes into a new ifdef powerpc: vio: make vio_bus_type const powerpc: mpic: make mpic_subsys const powerpc: ibmebus: make ibmebus_bus_type const arch/powerpc/include/asm/ibmebus.h | 2 +- arch/powerpc/include/asm/mpic.h | 2 +- arch/powerpc/include/asm/vio.h | 2 +- arch/powerpc/platforms/pseries/ibmebus.c | 2 +- arch/powerpc/platforms/pseries/vio.c | 61 ++++++++++++++++++-------------- arch/powerpc/sysdev/mpic.c | 2 +- 6 files changed, 40 insertions(+), 31 deletions(-) --- base-commit: 41bccc98fb7931d63d03f326a746ac4d429c1dd3 change-id: 20240209-bus_cleanup-powerpc2-498426fccb98 Best regards, -- Ricardo B. Marliere <rica...@marliere.net>