summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/arm/display/komeda/komeda_dev.c
diff options
context:
space:
mode:
authorjames qian wang (Arm Technology China) <james.qian.wang@arm.com>2019-04-25 07:12:09 +0100
committerLiviu Dudau <Liviu.Dudau@arm.com>2019-06-03 12:00:30 +0100
commitba1b9f8c4658663dd66e992bef31f6f8747b6c8c (patch)
treee3442b8419b2a7b7fe6390d20858b78bbde839ff /drivers/gpu/drm/arm/display/komeda/komeda_dev.c
parent2a3e0b716296a504d9e65fea7acb379c86fe4283 (diff)
downloadlwn-ba1b9f8c4658663dd66e992bef31f6f8747b6c8c.tar.gz
lwn-ba1b9f8c4658663dd66e992bef31f6f8747b6c8c.zip
drm/komeda: Constify the usage of komeda_component/pipeline/dev_funcs
Depends on: - https://patchwork.freedesktop.org/series/58976/ - https://patchwork.freedesktop.org/series/59855/ Reported-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com> Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'drivers/gpu/drm/arm/display/komeda/komeda_dev.c')
-rw-r--r--drivers/gpu/drm/arm/display/komeda/komeda_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c b/drivers/gpu/drm/arm/display/komeda/komeda_dev.c
index ca3599e4a4d3..d7527e126658 100644
--- a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c
+++ b/drivers/gpu/drm/arm/display/komeda/komeda_dev.c
@@ -269,7 +269,7 @@ err_cleanup:
void komeda_dev_destroy(struct komeda_dev *mdev)
{
struct device *dev = mdev->dev;
- struct komeda_dev_funcs *funcs = mdev->funcs;
+ const struct komeda_dev_funcs *funcs = mdev->funcs;
int i;
sysfs_remove_group(&dev->kobj, &komeda_sysfs_attr_group);