diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-03 15:25:04 -0300 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2024-02-07 12:35:10 +0200 |
commit | 2c8ba564a42c7418a726367c73d7c88454848fdc (patch) | |
tree | 47493bde8a43952c2d0bc935899239fe1e87a1ea /net/core/netevent.c | |
parent | 78cb1f1d19b600ed288ed7ad1fd7b9378302cbc5 (diff) |
drm: mipi-dsi: make mipi_dsi_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the mipi_dsi_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-2-1b6ecdb5f941@marliere.net
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240203-bus_cleanup-gpu-v1-2-1b6ecdb5f941@marliere.net
Diffstat (limited to 'net/core/netevent.c')
0 files changed, 0 insertions, 0 deletions