]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit768ffc66b45fd6551162d64ac8d92c101725262a
treea0fe3040612ba917bdfd64846e4abdc1a15bb263
parent933e0db118fd6f73f8692c29ed47994c7e073552
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