diff options
author | Jani Nikula <jani.nikula@intel.com> | 2022-03-31 21:45:01 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2022-04-01 17:44:40 +0300 |
commit | 6d987ddd68434bf60650dfdd05343d642643ee44 (patch) | |
tree | 9b29c778fdf61b349ff1b5281d5939db6105a8a2 /include/drm | |
parent | 4ba0f53ce685b0dcfc932342e0de85707747ea7e (diff) | |
download | linux-rpi-6d987ddd68434bf60650dfdd05343d642643ee44.tar.gz linux-rpi-6d987ddd68434bf60650dfdd05343d642643ee44.tar.bz2 linux-rpi-6d987ddd68434bf60650dfdd05343d642643ee44.zip |
drm/edid: make drm_edid_header_is_valid() accept void pointer
It will be useful to accept a struct edid *, but for compatibility with
existing usage accept void *.
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>
Link: https://patchwork.freedesktop.org/patch/msgid/33fbe1615a3bd82112eaf4077bbb521793cbb91a.1648752228.git.jani.nikula@intel.com
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_edid.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h index 48b1bf9c315a..b7e170584000 100644 --- a/include/drm/drm_edid.h +++ b/include/drm/drm_edid.h @@ -578,7 +578,7 @@ int drm_add_modes_noedid(struct drm_connector *connector, void drm_set_preferred_mode(struct drm_connector *connector, int hpref, int vpref); -int drm_edid_header_is_valid(const u8 *raw_edid); +int drm_edid_header_is_valid(const void *edid); bool drm_edid_block_valid(u8 *raw_edid, int block, bool print_bad_edid, bool *edid_corrupt); bool drm_edid_is_valid(struct edid *edid); |