Re: [PATCH 29/38] ASoC: tas2562: skip of_device_id table when !CONFIG_OF

2020-11-20 Thread Krzysztof Kozlowski
On Fri, Nov 20, 2020 at 10:21:56AM -0600, Dan Murphy wrote: > Hello > > On 11/20/20 10:16 AM, Krzysztof Kozlowski wrote: > > The driver can match by multiple methods. Its of_device_id table is > > referenced via of_match_ptr() so it will be unused for !CONFIG_OF > > builds: > > > >sound/soc/

Re: [PATCH 29/38] ASoC: tas2562: skip of_device_id table when !CONFIG_OF

2020-11-20 Thread Dan Murphy
Hello On 11/20/20 10:16 AM, Krzysztof Kozlowski wrote: The driver can match by multiple methods. Its of_device_id table is referenced via of_match_ptr() so it will be unused for !CONFIG_OF builds: sound/soc/codecs/tas2562.c:805:34: warning: ‘tas2562_of_match’ defined but not used [-Wunused

[PATCH 29/38] ASoC: tas2562: skip of_device_id table when !CONFIG_OF

2020-11-20 Thread Krzysztof Kozlowski
The driver can match by multiple methods. Its of_device_id table is referenced via of_match_ptr() so it will be unused for !CONFIG_OF builds: sound/soc/codecs/tas2562.c:805:34: warning: ‘tas2562_of_match’ defined but not used [-Wunused-const-variable=] Signed-off-by: Krzysztof Kozlowski ---