]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a94fa6d7f2cd72105417d337947e53cb49b11f1
tree7ca226e87646693a33f5a0ded23962876c78c288
parentec98e4447687486ce7129b9d4f6e92b3a2b07743
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