]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4/cxgb4vf/csiostor: Make PCI Device ID Tables be "const"
authorHariprasad Shenai <hariprasad@chelsio.com>
Thu, 19 Mar 2015 16:57:36 +0000 (22:27 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Mar 2015 19:30:21 +0000 (15:30 -0400)
commit5683811db7a4966f01a69b123b0e4389dcc2b7b0
treea0fe3040612ba917bdfd64846e4abdc1a15bb263
parent84cb5e093c0aa7ae00cb50f98273c9056d2630b9
cxgb4/cxgb4vf/csiostor: Make PCI Device ID Tables be "const"

Make PCI Device ID Tables be "const" to move them out of the data segment and
remove a redundant check on CH_PCI_DEVICE_ID_TABLE_DEFINE_BEGIN in
t4_pci_id_tbl.h to guard the contents of the include file.

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
drivers/scsi/csiostor/csio_init.c