]> 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)
commit86e5e1f5d54682b9b70598db1282dfacd18b7e95
tree4c3828eab652a460a622886b7dcaa3df2e05502e
parentdf72216dac00b9499f48d4e832b2ec3fd0a2f401
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