lkml.org 
[lkml]   [2020]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sound/soc/ti/j721e-evm.c:528:34: warning: unused variable 'j721e_audio_of_match'
On Tue, Sep 29, 2020 at 09:00:02AM +0300, Peter Ujfalusi wrote:

> The ifdef would be preferred if the driver could work in non DT boot (to
> save few bytes) but since it is not the case here:

What I'd *really* like would be something in the of_match_ptr() that
flagged that there's a reference to the table for the purposes of the
warning but still lets the table be eliminated by the linker.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-09-29 13:17    [W:0.067 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site