Re: sound/soc/ti/j721e-evm.c:528:34: warning: unused variable 'j721e_audio_of_match'

From: Mark Brown
Date: Mon Sep 28 2020 - 14:05:12 EST


On Mon, Sep 28, 2020 at 10:52:54AM -0700, Nick Desaulniers wrote:
> On Mon, Sep 28, 2020 at 12:27 AM 'Peter Ujfalusi' via Clang Built

> > Right, in the attached .config:
> > # CONFIG_OF is not set

> > There must be a clean way to handle this without extensive ifedfery...

> Pretty sure I just saw a patch go by wrapping another device table
> definition in #ifdef CONFIG_OF, so it's not unusual.

It's the standard solution, it's just not as clean as would be ideal :/

Attachment: signature.asc
Description: PGP signature