diff options
| author | Ondrej Jirman <[email protected]> | 2024-03-27 09:05:34 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-03-27 15:57:34 +0000 |
| commit | 559aebe45a054a479fdbd2a3dfba999ffd73cc9d (patch) | |
| tree | 75bfd97060b2acc3ef09f80478cf6830b3496434 /drivers/fpga/tests/fpga-region-test.c | |
| parent | cc983803081aa6a1a5ed9375cb7d01cd5c1da570 (diff) | |
ASoC: sun8i-codec: Fix build with CONFIG_SND_JACK_INPUT_DEV disabled
When CONFIG_SND_JACK_INPUT_DEV is disabled, struct snd_jack doesn't
have 'type' field. We can't rely on this field being always present,
so store the jack_type in the codec driver itself.
Signed-off-by: Ondrej Jirman <[email protected]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-region-test.c')
0 files changed, 0 insertions, 0 deletions