diff options
| -rw-r--r-- | drivers/ntb/hw/idt/ntb_hw_idt.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.c b/drivers/ntb/hw/idt/ntb_hw_idt.c index d44d7ef38fe8..0cd79f367f7c 100644 --- a/drivers/ntb/hw/idt/ntb_hw_idt.c +++ b/drivers/ntb/hw/idt/ntb_hw_idt.c | |||
| @@ -2628,35 +2628,35 @@ static void idt_pci_remove(struct pci_dev *pdev) | |||
| 2628 | /* | 2628 | /* |
| 2629 | * IDT PCIe-switch models ports configuration structures | 2629 | * IDT PCIe-switch models ports configuration structures |
| 2630 | */ | 2630 | */ |
| 2631 | static struct idt_89hpes_cfg idt_89hpes24nt6ag2_config = { | 2631 | static const struct idt_89hpes_cfg idt_89hpes24nt6ag2_config = { |
| 2632 | .name = "89HPES24NT6AG2", | 2632 | .name = "89HPES24NT6AG2", |
| 2633 | .port_cnt = 6, .ports = {0, 2, 4, 6, 8, 12} | 2633 | .port_cnt = 6, .ports = {0, 2, 4, 6, 8, 12} |
| 2634 | }; | 2634 | }; |
| 2635 | static struct idt_89hpes_cfg idt_89hpes32nt8ag2_config = { | 2635 | static const struct idt_89hpes_cfg idt_89hpes32nt8ag2_config = { |
| 2636 | .name = "89HPES32NT8AG2", | 2636 | .name = "89HPES32NT8AG2", |
| 2637 | .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} | 2637 | .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} |
| 2638 | }; | 2638 | }; |
| 2639 | static struct idt_89hpes_cfg idt_89hpes32nt8bg2_config = { | 2639 | static const struct idt_89hpes_cfg idt_89hpes32nt8bg2_config = { |
| 2640 | .name = "89HPES32NT8BG2", | 2640 | .name = "89HPES32NT8BG2", |
| 2641 | .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} | 2641 | .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} |
| 2642 | }; | 2642 | }; |
| 2643 | static struct idt_89hpes_cfg idt_89hpes12nt12g2_config = { | 2643 | static const struct idt_89hpes_cfg idt_89hpes12nt12g2_config = { |
| 2644 | .name = "89HPES12NT12G2", | 2644 | .name = "89HPES12NT12G2", |
| 2645 | .port_cnt = 3, .ports = {0, 8, 16} | 2645 | .port_cnt = 3, .ports = {0, 8, 16} |
| 2646 | }; | 2646 | }; |
| 2647 | static struct idt_89hpes_cfg idt_89hpes16nt16g2_config = { | 2647 | static const struct idt_89hpes_cfg idt_89hpes16nt16g2_config = { |
| 2648 | .name = "89HPES16NT16G2", | 2648 | .name = "89HPES16NT16G2", |
| 2649 | .port_cnt = 4, .ports = {0, 8, 12, 16} | 2649 | .port_cnt = 4, .ports = {0, 8, 12, 16} |
| 2650 | }; | 2650 | }; |
| 2651 | static struct idt_89hpes_cfg idt_89hpes24nt24g2_config = { | 2651 | static const struct idt_89hpes_cfg idt_89hpes24nt24g2_config = { |
| 2652 | .name = "89HPES24NT24G2", | 2652 | .name = "89HPES24NT24G2", |
| 2653 | .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} | 2653 | .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} |
| 2654 | }; | 2654 | }; |
| 2655 | static struct idt_89hpes_cfg idt_89hpes32nt24ag2_config = { | 2655 | static const struct idt_89hpes_cfg idt_89hpes32nt24ag2_config = { |
| 2656 | .name = "89HPES32NT24AG2", | 2656 | .name = "89HPES32NT24AG2", |
| 2657 | .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} | 2657 | .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} |
| 2658 | }; | 2658 | }; |
| 2659 | static struct idt_89hpes_cfg idt_89hpes32nt24bg2_config = { | 2659 | static const struct idt_89hpes_cfg idt_89hpes32nt24bg2_config = { |
| 2660 | .name = "89HPES32NT24BG2", | 2660 | .name = "89HPES32NT24BG2", |
| 2661 | .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} | 2661 | .port_cnt = 8, .ports = {0, 2, 4, 6, 8, 12, 16, 20} |
| 2662 | }; | 2662 | }; |
