]> git.baikalelectronics.ru Git - kernel.git/commit
panfrost: make mediatek_mt8183_supplies and mediatek_mt8183_pm_domains static
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Sat, 18 Sep 2021 09:13:34 +0000 (17:13 +0800)
committerSteven Price <steven.price@arm.com>
Mon, 20 Sep 2021 13:34:21 +0000 (14:34 +0100)
commitd3bc625fc4421b807c2409a5f78ace1d0d9874c2
tree4c3828eab652a460a622886b7dcaa3df2e05502e
parent9e4a602b1255b4f6fe942f14effd247415109570
panfrost: make mediatek_mt8183_supplies and mediatek_mt8183_pm_domains static

This symbol is not used outside of panfrost_drv.c, so marks it static.

Fix the following sparse warning:

drivers/gpu/drm/panfrost/panfrost_drv.c:641:12: warning: symbol
'mediatek_mt8183_supplies' was not declared. Should it be static?

drivers/gpu/drm/panfrost/panfrost_drv.c:642:12: warning: symbol
'mediatek_mt8183_pm_domains' was not declared. Should it be static?

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1631956414-85412-1-git-send-email-jiapeng.chong@linux.alibaba.com
drivers/gpu/drm/panfrost/panfrost_drv.c