mbox series

[0/2] ASoC: simple_card_utils.h: Fix two potential compilation errors

Message ID 20191009153615.32105-1-daniel.baluta@nxp.com (mailing list archive)
Headers show
Series ASoC: simple_card_utils.h: Fix two potential compilation errors | expand

Message

Daniel Baluta Oct. 9, 2019, 3:36 p.m. UTC
For this to happen we symbol DEBUG to be defined.

Daniel Baluta (2):
  ASoC: simple_card_utils.h: Add missing include
  ASoC: Fix potential multiple redefinition error

 include/sound/simple_card_utils.h | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Comments

Kuninori Morimoto Oct. 15, 2019, 12:43 a.m. UTC | #1
Hi

> 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>
> ---

Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Thank you for your help !!
Best regards
---
Kuninori Morimoto