OSDN Git Service

drm/panfrost: Constify argument to has_hw_issue
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 25 May 2022 14:57:48 +0000 (10:57 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 26 May 2022 13:53:01 +0000 (09:53 -0400)
commita17775a1af59573b1023e4ff2419ba48f4b6f648
treefdb353e9ee235f44b4f2f638cbab3ea1e4727019
parent382435709516c1a7dc3843872792abf95e786c83
drm/panfrost: Constify argument to has_hw_issue

Logically, this function is free of side effects, so any pointers it
takes should be const. Needed to avoid a warning in the next patch.

Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220525145754.25866-4-alyssa.rosenzweig@collabora.com
drivers/gpu/drm/panfrost/panfrost_issues.h