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@xxxxxxxxx/ 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@xxxxxxx/ 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(-) -- 2.30.2