mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00:00
6c8d0cdd6c
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 driver do need CONFIG_OF anyway, there is no
point in making the array definition conditional to save space, so
just remove the #ifdef and move the array up a little.
Fixes:
|
||
---|---|---|
.. | ||
cal_regs.h | ||
cal.c | ||
csc.c | ||
csc.h | ||
Makefile | ||
sc_coeff.h | ||
sc.c | ||
sc.h | ||
vpdma_priv.h | ||
vpdma.c | ||
vpdma.h | ||
vpe_regs.h | ||
vpe.c |