OSDN Git Service

drm/edid: add more general struct edid constness in the interfaces
authorJani Nikula <jani.nikula@intel.com>
Mon, 28 Mar 2022 14:34:32 +0000 (17:34 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 29 Mar 2022 11:51:30 +0000 (14:51 +0300)
commitf4e558ec9d9fb9484c30221a41cc5bfa73d33e6c
treee0597ed5cdf80f28ebf739852db5c96a64ef09da
parentc14e724114fe0e90685297e6c10ebdb14d40a7ec
drm/edid: add more general struct edid constness in the interfaces

With this, the remaining non-const parts are the ones that actually
modify the EDID, for example to fix corrupt EDID.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/c7156f22494b585c55a00a6732462bde0cc19dbf.1648477901.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c
include/drm/drm_edid.h