diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-10-26 22:41:02 +0300 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2020-10-27 12:30:09 +0300 |
commit | 36fba366cf9fa386e5905976e68380061feabd2e (patch) | |
tree | c584b980968f85021f2b14c12a5683791c90f1ec /include | |
parent | acbb7f1436624819f728742f781c7d5f10ba267d (diff) | |
download | linux-36fba366cf9fa386e5905976e68380061feabd2e.tar.xz |
drm/imx: tve remove extraneous type qualifier
clang warns about functions returning a 'const int' result:
drivers/gpu/drm/imx/imx-tve.c:487:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
Remove the extraneous 'const' qualifier here. I would guess that the
function was intended to be marked __attribute__((const)) instead,
but that would also be wrong since it call other functions without
that attribute.
Fixes: fcbc51e54d2a ("staging: drm/imx: Add support for Television Encoder (TVEv2)")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions