Skip to content
Commit 14d7f529 authored by Maxime Ripard's avatar Maxime Ripard Committed by Meng Li
Browse files

drm/vc4: Constify container_of wrappers



commit  1f90c413094d76c5de6850f4214ad3f58bdcf9dc from
https://github.com/raspberrypi/linux.git rpi-6.1.y

None of our wrappers around container_of to access our objects from the
DRM object pointer actually modify the latter.

Let's make them const.

Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20221123-rpi-kunit-tests-v1-11-051a0bb60a16@cerno.tech
Signed-off-by: default avatarMeng Li <Meng.Li@windriver.com>
parent 95641ad1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment