diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-06-09 10:00:17 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-07-27 13:13:26 +0200 |
commit | 8b9740178f2a380339fc1ce6d780bb442580eb2c (patch) | |
tree | be4222b64005cf0f5d08ff2f6187489c5109d39b /COPYING | |
parent | fe89168c4065885700fa4f755a5157392aaae03c (diff) |
ARM: davinci: don't mark vpif_input structures as 'const'
A change to the platform data definitions caused a warning in the board code:
arch/arm/mach-davinci/board-da850-evm.c:1221:13: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
arch/arm/mach-davinci/board-da850-evm.c:1231:13: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
This is a bit unfortunate, since we generally like structure definitions to
be const, but as this is legacy code, the easiest way out is still to
remove the 'const' annotation here.
Fixes: 4a5f8ae50b66 ("[media] davinci: vpif_capture: get subdevs from DT when available")
Fixes: 231ce279e6e3 ("ARM: davinci: fix const warnings")
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions