]> git.ipfire.org Git - thirdparty/linux.git/commit
drivers: eisa: make eisa_bus_type const
authorAdrian Barnaś <abarnas@google.com>
Fri, 19 Sep 2025 06:53:27 +0000 (06:53 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Oct 2025 05:55:00 +0000 (07:55 +0200)
commit61e606305672342858a647af3629d9dfcc4e4265
tree99b827eec6e57a20cf8d38920e901a5eef051932
parentb93606c51b5463766c4cf250072df219f20f49bb
drivers: eisa: make eisa_bus_type const

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@google.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20250919065327.672924-1-abarnas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/eisa/eisa-bus.c
include/linux/eisa.h