]> 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)
commit5664e0d46dc7010dbd94f225b8c81337c6e23540
treea0fe3040612ba917bdfd64846e4abdc1a15bb263
parent4d022f7f6c708340eb83f03b9a995e2456300594
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