]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: simple_card_utils.h: Fix potential multiple redefinition error
authorDaniel Baluta <daniel.baluta@nxp.com>
Wed, 9 Oct 2019 15:36:15 +0000 (18:36 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 9 Oct 2019 17:02:34 +0000 (18:02 +0100)
commit2f70379ad7272699ce2d1c4632e724646b0a7470
tree210b6c052c78dfae2c53f46e68e478456ba6ed87
parentad33c64d5c8fd78135f8dc2a173d19edf9749e73
ASoC: simple_card_utils.h: Fix potential multiple redefinition error

asoc_simple_debug_info and asoc_simple_debug_dai must be static
otherwise we might a compilation error if the compiler decides
not to inline the given function.

Fixes: 27e7e2a8cbcc9033 ("ASoC: simple-card-utils: add asoc_simple_debug_info()")
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20191009153615.32105-3-daniel.baluta@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/simple_card_utils.h