| commit | a5035c81847430dfa3482807b07325f29e9e8c09 | [log] [tgz] |
|---|---|---|
| author | Arnd Bergmann <arnd@arndb.de> | Wed Nov 08 13:58:42 2023 +0100 |
| committer | Helge Deller <deller@gmx.de> | Fri Nov 10 09:16:02 2023 +0100 |
| tree | ee96af3c28073b1d6e2492530557dae8f559d79a | |
| parent | dce217780270300db7931d0fd73796aa64fea237 [diff] |
fbdev: fsl-diu-fb: mark wr_reg_wa() static
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>