OSDN Git Service

bnxt: initialize board_info values with proper enums
authorScott Branden <scott.branden@broadcom.com>
Mon, 28 Aug 2017 17:40:29 +0000 (13:40 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2017 23:57:09 +0000 (16:57 -0700)
commit27573a7d905a49dc756fda9c0e148372136356e6
tree7ca226e87646693a33f5a0ded23962876c78c288
parent4a58139b8493624c6c6223b58a9e70ebbdf56338
bnxt: initialize board_info values with proper enums

initialize board_info values with proper enums for defensive programming
purposes.  This will avoid any errors of the enums being declared not
lining up with the board_info array.

Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c