OSDN Git Service

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)
commitaf6219590b541418d3192e9bfa03989834ca0e78
tree210b6c052c78dfae2c53f46e68e478456ba6ed87
parentbcab05880f9306e94531b0009c627421db110a74
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: 0580dde59438686d ("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