diff options
author | Krzysztof Kozlowski <[email protected]> | 2023-08-15 16:32:03 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-08-15 19:22:59 +0100 |
commit | 5a1803324949f4ebdf6e887b59e0e89afc3ee0bb (patch) | |
tree | bf81d0002d83ba0ad1ec086d490c727182d45ad0 /drivers/fpga/fpga-bridge.c | |
parent | 66de320b0214a60095287ba1afa09e870d8cdbe5 (diff) |
ASoC: codecs: wm8904: Fix Wvoid-pointer-to-enum-cast warning
'devtype' is an enum, thus cast of pointer on 64-bit compile test with
W=1 causes:
wm8904.c:2205:21: error: cast to smaller integer type 'enum wm8904_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions