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>
Showing
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 1 addition, 1 deletiondrivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
- drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h 0 additions, 4 deletionsdrivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h
- drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 1 addition, 1 deletiondrivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
- drivers/scsi/csiostor/csio_init.c 1 addition, 1 deletiondrivers/scsi/csiostor/csio_init.c
Loading
Please register or sign in to comment