Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

via-velocity: constify of_device_id array

of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Fabian Frederick and committed by
David S. Miller
2c71ec99 d2b75a3f

+1 -1
+1 -1
drivers/net/ethernet/via/via-velocity.c
··· 392 392 * Describe the OF device identifiers that we support in this 393 393 * device driver. Used for devicetree nodes. 394 394 */ 395 - static struct of_device_id velocity_of_ids[] = { 395 + static const struct of_device_id velocity_of_ids[] = { 396 396 { .compatible = "via,velocity-vt6110", .data = &chip_info_table[0] }, 397 397 { /* Sentinel */ }, 398 398 };