Re: [PATCH] media: ti-vpe: avoid gcc-9 warning

2020-04-28 Thread Benoit Parrot
Reviewed-by: Benoit Parrot Arnd Bergmann wrote on Tue [2020-Apr-28 23:34:19 +0200]: > gcc warns about empty array declarations, which we get in this driver > when compile-testing without CONFIG_OF: > > drivers/media/platform/ti-vpe/cal.c:2194:34: warning: array 'cal_of_match' > assumed to have

[PATCH] media: ti-vpe: avoid gcc-9 warning

2020-04-28 Thread Arnd Bergmann
gcc warns about empty array declarations, which we get in this driver when compile-testing without CONFIG_OF: drivers/media/platform/ti-vpe/cal.c:2194:34: warning: array 'cal_of_match' assumed to have one element 2194 | static const struct of_device_id cal_of_match[]; Since all users of this dr