diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-03-13 18:20:46 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-03-18 17:52:36 +0200 |
commit | 267ea759b231e26611f87c8d23d2f3e5ea5a6e71 (patch) | |
tree | aa09d34a40cf783714d94c4523376e0282f69712 /drivers/gpu/drm/drm_connector.c | |
parent | e196e140f95cbe1cbd654f8529346fcdfe496cb7 (diff) | |
download | lwn-267ea759b231e26611f87c8d23d2f3e5ea5a6e71.tar.gz lwn-267ea759b231e26611f87c8d23d2f3e5ea5a6e71.zip |
drm: Constify topology id
Make the topology id const since we don't want to change it.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200313162054.16009-2-ville.syrjala@linux.intel.com
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/drm_connector.c')
-rw-r--r-- | drivers/gpu/drm/drm_connector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c index 644f0ad10671..462d8caa6e72 100644 --- a/drivers/gpu/drm/drm_connector.c +++ b/drivers/gpu/drm/drm_connector.c @@ -2392,7 +2392,7 @@ EXPORT_SYMBOL(drm_mode_put_tile_group); * tile group or NULL if not found. */ struct drm_tile_group *drm_mode_get_tile_group(struct drm_device *dev, - char topology[8]) + const char topology[8]) { struct drm_tile_group *tg; int id; @@ -2422,7 +2422,7 @@ EXPORT_SYMBOL(drm_mode_get_tile_group); * new tile group or NULL. */ struct drm_tile_group *drm_mode_create_tile_group(struct drm_device *dev, - char topology[8]) + const char topology[8]) { struct drm_tile_group *tg; int ret; |