diff options
author | james qian wang (Arm Technology China) <james.qian.wang@arm.com> | 2019-04-25 07:12:09 +0100 |
---|---|---|
committer | Liviu Dudau <Liviu.Dudau@arm.com> | 2019-06-03 12:00:30 +0100 |
commit | ba1b9f8c4658663dd66e992bef31f6f8747b6c8c (patch) | |
tree | e3442b8419b2a7b7fe6390d20858b78bbde839ff /drivers/gpu/drm/arm/display/komeda/komeda_dev.c | |
parent | 2a3e0b716296a504d9e65fea7acb379c86fe4283 (diff) | |
download | lwn-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.c | 2 |
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); |