fbdev: fsl-diu-fb: mark wr_reg_wa() static
authorArnd Bergmann <arnd@arndb.de>
Wed, 8 Nov 2023 12:58:42 +0000 (13:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Nov 2023 10:59:38 +0000 (11:59 +0100)
commit172056918ad888caac780d494f62fedcfe5a668b
tree433529a83405ea1bd78cb54f2db55b35b9fdc3a4
parent630ee9bcaef65b7caa64fbe75585ace81261d5a5
fbdev: fsl-diu-fb: mark wr_reg_wa() static

[ Upstream commit a5035c81847430dfa3482807b07325f29e9e8c09 ]

wr_reg_wa() is not an appropriate name for a global function, and doesn't need
to be global anyway, so mark it static and avoid the warning:

drivers/video/fbdev/fsl-diu-fb.c:493:6: error: no previous prototype for 'wr_reg_wa' [-Werror=missing-prototypes]

Fixes: 0d9dab39fbbe ("powerpc/5121: fsl-diu-fb: fix issue with re-enabling DIU area descriptor")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/video/fbdev/fsl-diu-fb.c