diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-03 16:02:00 -0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2024-02-13 13:37:28 +0100 |
commit | 6bf26a0e5e9b11f7f4a614e539b9ed511e2fc0cd (patch) | |
tree | ce47c6bc0ff587f0007b6915bbd6221a5263f161 /kernel/rseq.c | |
parent | 069279d6fef57b06d5489d6aa8775630903c0da2 (diff) | |
download | linux-6bf26a0e5e9b11f7f4a614e539b9ed511e2fc0cd.tar.gz linux-6bf26a0e5e9b11f7f4a614e539b9ed511e2fc0cd.tar.bz2 linux-6bf26a0e5e9b11f7f4a614e539b9ed511e2fc0cd.zip |
mmc: core: make mmc_rpmb_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the mmc_rpmb_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20240203-bus_cleanup-mmc-v1-1-ad054dce8dc3@marliere.net
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'kernel/rseq.c')
0 files changed, 0 insertions, 0 deletions