On Sat, 17 Oct 2015 00:21:44 -0400 Michael Chan <mc...@broadcom.com> wrote:
> +/* indexed by enum above */ > +static struct { > + char *name; > +} board_info[] = { > + { "Broadcom BCM57302 NetXtreme-C Single-port 10Gb/25Gb/40Gb/50Gb > Ethernet" }, > + { "Broadcom BCM57304 NetXtreme-C Dual-port 10Gb/25Gb/40Gb/50Gb > Ethernet" }, > + { "Broadcom BCM57404 NetXtreme-E Dual-port 10Gb/25Gb Ethernet" }, > + { "Broadcom BCM57406 NetXtreme-E Dual-port 10Gb Ethernet" }, > + { "Broadcom BCM57304 NetXtreme-C Ethernet Virtual Function" }, > + { "Broadcom BCM57404 NetXtreme-E Ethernet Virtual Function" }, > +}; Tables like this should be declared const. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html