Re: [PATCH] drivers: eisa: make eisa_bus_type const
From: Greg Kroah-Hartman
Date: Fri Sep 19 2025 - 11:39:04 EST
On Fri, Sep 19, 2025 at 06:53:27AM +0000, Adrian Barnaś wrote:
> Because driver core can properly handle constant struct bus_type,
> move the eisa_bus_type to be a constant structure as well, placing it into
> read-only memory which can not be modified at runtime.
>
> Signed-off-by: Adrian Barnaś <abarnas@xxxxxxxxxx>
> ---
> drivers/eisa/eisa-bus.c | 2 +-
> include/linux/eisa.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>