diff options
author | Arnd Bergmann <[email protected]> | 2015-11-18 22:16:48 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2015-11-21 13:27:03 +0000 |
commit | e6e969f1fd332e7525c577c0d8cfcbe898409abd (patch) | |
tree | 157302c27186490a0b85c7c3833ed7f4ac27ef86 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec (diff) |
ASoC: sh: fix fsi build warnings for 64 bit
As this driver can now be compiled for ARM64, we get a new warning
as a result of passing a DMA filter data pointer through an 'int':
sound/soc/sh/fsi.c: In function 'fsi_dma_probe':
sound/soc/sh/fsi.c:1372:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
shdma_chan_filter, (void *)io->dma_id,
We already know that we only need the legacy filter function on
arch/sh, so we can hide the legacy DMA interface function
behind an #ifdef. This has the other advantage of no longer
depending on the shdma_chan_filter function to be visible.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions