linux-yocto/drivers/mmc
Ricardo B. Marliere 68f5630ae1 mmc: core: constify the struct device_type usage
Since commit aed65af1cc ("drivers: make device_type const"), the driver
core can properly handle constant struct device_type. Move the sdio_type,
sd_type and mmc_type variables to be constant structures as well, placing
it into read-only memory which can not be modified at runtime.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Link: https://lore.kernel.org/r/20240219-device_cleanup-mmc-v1-1-1910e283cf5a@marliere.net
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2024-02-27 13:48:36 +01:00
..
core mmc: core: constify the struct device_type usage 2024-02-27 13:48:36 +01:00
host mmc: sdhci-of-dwcmshc: Add support for Sophgo CV1800B and SG2002 2024-02-27 13:45:13 +01:00
Kconfig
Makefile