Home
last modified time | relevance | path

Searched hist:"78 cb1f1d19b600ed288ed7ad1fd7b9378302cbc5" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpu/drm/display/
H A Ddrm_dp_aux_bus.cdiff 78cb1f1d19b600ed288ed7ad1fd7b9378302cbc5 Sat Feb 03 19:25:03 CET 2024 Ricardo B. Marliere <ricardo@marliere.net> drm: display: make dp_aux_bus_type const

Now that the driver core can properly handle constant struct bus_type,
move the dp_aux_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240203-bus_cleanup-gpu-v1-1-1b6ecdb5f941@marliere.net
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240203-bus_cleanup-gpu-v1-1-1b6ecdb5f941@marliere.net