[v3,0/2] media: hi846: minor build fixes

Message ID 20211019155509.1018130-1-martin.kepplinger@puri.sm (mailing list archive)
Headers
Series media: hi846: minor build fixes |

Message

Martin Kepplinger Oct. 19, 2021, 3:55 p.m. UTC
  Similar to many other drivers this basically should fix the build warning
where the const struct of_device_id we define can be unused. Reported
here:
https://lore.kernel.org/linux-media/202110170632.b6umsB8m-lkp@intel.com/


revision history
----------------
v3: (thank you Sakari)
* include property.h instead of of_graph.h and remove the of_match_ptr macro

v2 and v1:
https://lore.kernel.org/linux-media/20211018095859.255912-1-martin.kepplinger@puri.sm/

Martin Kepplinger (2):
  media: hi846: include property.h instead of of_graph.h
  media: hi846: remove the of_match_ptr macro

 drivers/media/i2c/hi846.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Sakari Ailus Oct. 20, 2021, 12:57 p.m. UTC | #1
On Tue, Oct 19, 2021 at 05:55:07PM +0200, Martin Kepplinger wrote:
> Similar to many other drivers this basically should fix the build warning
> where the const struct of_device_id we define can be unused. Reported
> here:
> https://lore.kernel.org/linux-media/202110170632.b6umsB8m-lkp@intel.com/

Thanks, Martin!>
  
Martin Kepplinger Nov. 4, 2021, 10:53 a.m. UTC | #2
Am Mittwoch, dem 20.10.2021 um 15:57 +0300 schrieb Sakari Ailus:
> On Tue, Oct 19, 2021 at 05:55:07PM +0200, Martin Kepplinger wrote:
> > Similar to many other drivers this basically should fix the build
> > warning
> > where the const struct of_device_id we define can be unused.
> > Reported
> > here:
> > https://lore.kernel.org/linux-media/202110170632.b6umsB8m-lkp@intel.com/
> 
> Thanks, Martin!> 
> 

since the Intel test robot just reminded me that the issue still
remains: are these patches queued somewhere already?

thanks!
                         martin
  
Sakari Ailus Nov. 5, 2021, 8:50 a.m. UTC | #3
Hi Martin,

On Thu, Nov 04, 2021 at 11:53:08AM +0100, Martin Kepplinger wrote:
> Am Mittwoch, dem 20.10.2021 um 15:57 +0300 schrieb Sakari Ailus:
> > On Tue, Oct 19, 2021 at 05:55:07PM +0200, Martin Kepplinger wrote:
> > > Similar to many other drivers this basically should fix the build
> > > warning
> > > where the const struct of_device_id we define can be unused.
> > > Reported
> > > here:
> > > https://lore.kernel.org/linux-media/202110170632.b6umsB8m-lkp@intel.com/
> > 
> > Thanks, Martin!> 
> > 
> 
> since the Intel test robot just reminded me that the issue still
> remains: are these patches queued somewhere already?

Not yet. And thanks for the ping. I had forgotten about these fixes and
wrote a fix for the same issue, so I'm taking these two instead.