You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
sections: fix section conflicts in drivers/ide
Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: David Miller <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
1849f23d6f
commit
e6b53703b9
@@ -181,7 +181,7 @@ static const struct ide_port_ops atp86x_port_ops = {
|
||||
.cable_detect = atp86x_cable_detect,
|
||||
};
|
||||
|
||||
static const struct ide_port_info aec62xx_chipsets[] __devinitdata = {
|
||||
static const struct ide_port_info aec62xx_chipsets[] __devinitconst = {
|
||||
{ /* 0: AEC6210 */
|
||||
.name = DRV_NAME,
|
||||
.init_chipset = init_chipset_aec62xx,
|
||||
|
||||
@@ -52,13 +52,13 @@
|
||||
|
||||
/* port addresses for auto-detection */
|
||||
#define ALI_NUM_PORTS 4
|
||||
static const int ports[ALI_NUM_PORTS] __initdata =
|
||||
static const int ports[ALI_NUM_PORTS] __initconst =
|
||||
{ 0x074, 0x0f4, 0x034, 0x0e4 };
|
||||
|
||||
/* register initialization data */
|
||||
typedef struct { u8 reg, data; } RegInitializer;
|
||||
|
||||
static const RegInitializer initData[] __initdata = {
|
||||
static const RegInitializer initData[] __initconst = {
|
||||
{0x01, 0x0f}, {0x02, 0x00}, {0x03, 0x00}, {0x04, 0x00},
|
||||
{0x05, 0x00}, {0x06, 0x00}, {0x07, 0x2b}, {0x0a, 0x0f},
|
||||
{0x25, 0x00}, {0x26, 0x00}, {0x27, 0x00}, {0x28, 0x00},
|
||||
|
||||
@@ -512,7 +512,7 @@ static const struct ide_dma_ops ali_dma_ops = {
|
||||
.dma_sff_read_status = ide_dma_sff_read_status,
|
||||
};
|
||||
|
||||
static const struct ide_port_info ali15x3_chipset __devinitdata = {
|
||||
static const struct ide_port_info ali15x3_chipset __devinitconst = {
|
||||
.name = DRV_NAME,
|
||||
.init_chipset = init_chipset_ali15x3,
|
||||
.init_hwif = init_hwif_ali15x3,
|
||||
|
||||
@@ -223,7 +223,7 @@ static const struct ide_port_ops amd_port_ops = {
|
||||
.udma_mask = udma, \
|
||||
}
|
||||
|
||||
static const struct ide_port_info amd74xx_chipsets[] __devinitdata = {
|
||||
static const struct ide_port_info amd74xx_chipsets[] __devinitconst = {
|
||||
/* 0: AMD7401 */ DECLARE_AMD_DEV(0x00, ATA_UDMA2),
|
||||
/* 1: AMD7409 */ DECLARE_AMD_DEV(ATA_SWDMA2, ATA_UDMA4),
|
||||
/* 2: AMD7411/7441 */ DECLARE_AMD_DEV(ATA_SWDMA2, ATA_UDMA5),
|
||||
|
||||
@@ -139,7 +139,7 @@ static const struct ide_port_ops atiixp_port_ops = {
|
||||
.cable_detect = atiixp_cable_detect,
|
||||
};
|
||||
|
||||
static const struct ide_port_info atiixp_pci_info[] __devinitdata = {
|
||||
static const struct ide_port_info atiixp_pci_info[] __devinitconst = {
|
||||
{ /* 0: IXP200/300/400/700 */
|
||||
.name = DRV_NAME,
|
||||
.enablebits = {{0x48,0x01,0x00}, {0x48,0x08,0x00}},
|
||||
|
||||
@@ -685,7 +685,7 @@ static int pci_conf2(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static const struct ide_port_info cmd640_port_info __initdata = {
|
||||
static const struct ide_port_info cmd640_port_info __initconst = {
|
||||
.chipset = ide_cmd640,
|
||||
.host_flags = IDE_HFLAG_SERIALIZE |
|
||||
IDE_HFLAG_NO_DMA |
|
||||
|
||||
@@ -327,7 +327,7 @@ static const struct ide_dma_ops cmd646_rev1_dma_ops = {
|
||||
.dma_sff_read_status = ide_dma_sff_read_status,
|
||||
};
|
||||
|
||||
static const struct ide_port_info cmd64x_chipsets[] __devinitdata = {
|
||||
static const struct ide_port_info cmd64x_chipsets[] __devinitconst = {
|
||||
{ /* 0: CMD643 */
|
||||
.name = DRV_NAME,
|
||||
.init_chipset = init_chipset_cmd64x,
|
||||
|
||||
@@ -94,7 +94,7 @@ static const struct ide_port_ops cs5520_port_ops = {
|
||||
.set_dma_mode = cs5520_set_dma_mode,
|
||||
};
|
||||
|
||||
static const struct ide_port_info cyrix_chipset __devinitdata = {
|
||||
static const struct ide_port_info cyrix_chipset __devinitconst = {
|
||||
.name = DRV_NAME,
|
||||
.enablebits = { { 0x60, 0x01, 0x01 }, { 0x60, 0x02, 0x02 } },
|
||||
.port_ops = &cs5520_port_ops,
|
||||
|
||||
@@ -245,7 +245,7 @@ static const struct ide_port_ops cs5530_port_ops = {
|
||||
.udma_filter = cs5530_udma_filter,
|
||||
};
|
||||
|
||||
static const struct ide_port_info cs5530_chipset __devinitdata = {
|
||||
static const struct ide_port_info cs5530_chipset __devinitconst = {
|
||||
.name = DRV_NAME,
|
||||
.init_chipset = init_chipset_cs5530,
|
||||
.init_hwif = init_hwif_cs5530,
|
||||
|
||||
@@ -170,7 +170,7 @@ static const struct ide_port_ops cs5535_port_ops = {
|
||||
.cable_detect = cs5535_cable_detect,
|
||||
};
|
||||
|
||||
static const struct ide_port_info cs5535_chipset __devinitdata = {
|
||||
static const struct ide_port_info cs5535_chipset __devinitconst = {
|
||||
.name = DRV_NAME,
|
||||
.port_ops = &cs5535_port_ops,
|
||||
.host_flags = IDE_HFLAG_SINGLE | IDE_HFLAG_POST_SET_MODE,
|
||||
|
||||
@@ -163,7 +163,7 @@ static const struct ide_port_ops cy82c693_port_ops = {
|
||||
.set_dma_mode = cy82c693_set_dma_mode,
|
||||
};
|
||||
|
||||
static const struct ide_port_info cy82c693_chipset __devinitdata = {
|
||||
static const struct ide_port_info cy82c693_chipset __devinitconst = {
|
||||
.name = DRV_NAME,
|
||||
.init_iops = init_iops_cy82c693,
|
||||
.port_ops = &cy82c693_port_ops,
|
||||
|
||||
@@ -91,7 +91,7 @@ static const struct ide_port_ops dtc2278_port_ops = {
|
||||
.set_pio_mode = dtc2278_set_pio_mode,
|
||||
};
|
||||
|
||||
static const struct ide_port_info dtc2278_port_info __initdata = {
|
||||
static const struct ide_port_info dtc2278_port_info __initconst = {
|
||||
.name = DRV_NAME,
|
||||
.chipset = ide_dtc2278,
|
||||
.port_ops = &dtc2278_port_ops,
|
||||
|
||||
+12
-12
@@ -443,7 +443,7 @@ static struct hpt_timings hpt37x_timings = {
|
||||
}
|
||||
};
|
||||
|
||||
static const struct hpt_info hpt36x __devinitdata = {
|
||||
static const struct hpt_info hpt36x __devinitconst = {
|
||||
.chip_name = "HPT36x",
|
||||
.chip_type = HPT36x,
|
||||
.udma_mask = HPT366_ALLOW_ATA66_3 ? (HPT366_ALLOW_ATA66_4 ? ATA_UDMA4 : ATA_UDMA3) : ATA_UDMA2,
|
||||
@@ -451,7 +451,7 @@ static const struct hpt_info hpt36x __devinitdata = {
|
||||
.timings = &hpt36x_timings
|
||||
};
|
||||
|
||||
static const struct hpt_info hpt370 __devinitdata = {
|
||||
static const struct hpt_info hpt370 __devinitconst = {
|
||||
.chip_name = "HPT370",
|
||||
.chip_type = HPT370,
|
||||
.udma_mask = HPT370_ALLOW_ATA100_5 ? ATA_UDMA5 : ATA_UDMA4,
|
||||
@@ -459,7 +459,7 @@ static const struct hpt_info hpt370 __devinitdata = {
|
||||
.timings = &hpt37x_timings
|
||||
};
|
||||
|
||||
static const struct hpt_info hpt370a __devinitdata = {
|
||||
static const struct hpt_info hpt370a __devinitconst = {
|
||||
.chip_name = "HPT370A",
|
||||
.chip_type = HPT370A,
|
||||
.udma_mask = HPT370_ALLOW_ATA100_5 ? ATA_UDMA5 : ATA_UDMA4,
|
||||
@@ -467,7 +467,7 @@ static const struct hpt_info hpt370a __devinitdata = {
|
||||
.timings = &hpt37x_timings
|
||||
};
|
||||
|
||||
static const struct hpt_info hpt374 __devinitdata = {
|
||||
static const struct hpt_info hpt374 __devinitconst = {
|
||||
.chip_name = "HPT374",
|
||||
.chip_type = HPT374,
|
||||
.udma_mask = ATA_UDMA5,
|
||||
@@ -475,7 +475,7 @@ static const struct hpt_info hpt374 __devinitdata = {
|
||||
.timings = &hpt37x_timings
|
||||
};
|
||||
|
||||
static const struct hpt_info hpt372 __devinitdata = {
|
||||
static const struct hpt_info hpt372 __devinitconst = {
|
||||
.chip_name = "HPT372",
|
||||
.chip_type = HPT372,
|
||||
.udma_mask = HPT372_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5,
|
||||
@@ -483,7 +483,7 @@ static const struct hpt_info hpt372 __devinitdata = {
|
||||
.timings = &hpt37x_timings
|
||||
};
|
||||
|
||||
static const struct hpt_info hpt372a __devinitdata = {
|
||||
static const struct hpt_info hpt372a __devinitconst = {
|
||||
.chip_name = "HPT372A",
|
||||
.chip_type = HPT372A,
|
||||
.udma_mask = HPT372_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5,
|
||||
@@ -491,7 +491,7 @@ static const struct hpt_info hpt372a __devinitdata = {
|
||||
.timings = &hpt37x_timings
|
||||
};
|
||||
|
||||
static const struct hpt_info hpt302 __devinitdata = {
|
||||
static const struct hpt_info hpt302 __devinitconst = {
|
||||
.chip_name = "HPT302",
|
||||
.chip_type = HPT302,
|
||||
.udma_mask = HPT302_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5,
|
||||
@@ -499,7 +499,7 @@ static const struct hpt_info hpt302 __devinitdata = {
|
||||
.timings = &hpt37x_timings
|
||||
};
|
||||
|
||||
static const struct hpt_info hpt371 __devinitdata = {
|
||||
static const struct hpt_info hpt371 __devinitconst = {
|
||||
.chip_name = "HPT371",
|
||||
.chip_type = HPT371,
|
||||
.udma_mask = HPT371_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5,
|
||||
@@ -507,7 +507,7 @@ static const struct hpt_info hpt371 __devinitdata = {
|
||||
.timings = &hpt37x_timings
|
||||
};
|
||||
|
||||
static const struct hpt_info hpt372n __devinitdata = {
|
||||
static const struct hpt_info hpt372n __devinitconst = {
|
||||
.chip_name = "HPT372N",
|
||||
.chip_type = HPT372N,
|
||||
.udma_mask = HPT372_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5,
|
||||
@@ -515,7 +515,7 @@ static const struct hpt_info hpt372n __devinitdata = {
|
||||
.timings = &hpt37x_timings
|
||||
};
|
||||
|
||||
static const struct hpt_info hpt302n __devinitdata = {
|
||||
static const struct hpt_info hpt302n __devinitconst = {
|
||||
.chip_name = "HPT302N",
|
||||
.chip_type = HPT302N,
|
||||
.udma_mask = HPT302_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5,
|
||||
@@ -523,7 +523,7 @@ static const struct hpt_info hpt302n __devinitdata = {
|
||||
.timings = &hpt37x_timings
|
||||
};
|
||||
|
||||
static const struct hpt_info hpt371n __devinitdata = {
|
||||
static const struct hpt_info hpt371n __devinitconst = {
|
||||
.chip_name = "HPT371N",
|
||||
.chip_type = HPT371N,
|
||||
.udma_mask = HPT371_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5,
|
||||
@@ -1361,7 +1361,7 @@ static const struct ide_dma_ops hpt36x_dma_ops = {
|
||||
.dma_sff_read_status = ide_dma_sff_read_status,
|
||||
};
|
||||
|
||||
static const struct ide_port_info hpt366_chipsets[] __devinitdata = {
|
||||
static const struct ide_port_info hpt366_chipsets[] __devinitconst = {
|
||||
{ /* 0: HPT36x */
|
||||
.name = DRV_NAME,
|
||||
.init_chipset = init_chipset_hpt366,
|
||||
|
||||
@@ -341,7 +341,7 @@ static const struct ide_port_ops ht6560b_port_ops = {
|
||||
.set_pio_mode = ht6560b_set_pio_mode,
|
||||
};
|
||||
|
||||
static const struct ide_port_info ht6560b_port_info __initdata = {
|
||||
static const struct ide_port_info ht6560b_port_info __initconst = {
|
||||
.name = DRV_NAME,
|
||||
.chipset = ide_ht6560b,
|
||||
.tp_ops = &ht6560b_tp_ops,
|
||||
|
||||
@@ -451,7 +451,7 @@ err_free:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static const struct ide_port_info icside_v6_port_info __initdata = {
|
||||
static const struct ide_port_info icside_v6_port_info __initconst = {
|
||||
.init_dma = icside_dma_off_init,
|
||||
.port_ops = &icside_v6_no_dma_port_ops,
|
||||
.host_flags = IDE_HFLAG_SERIALIZE | IDE_HFLAG_MMIO,
|
||||
|
||||
@@ -53,7 +53,7 @@ static const struct ide_port_ops netcell_port_ops = {
|
||||
.udma_mask = ATA_UDMA6, \
|
||||
}
|
||||
|
||||
static const struct ide_port_info generic_chipsets[] __devinitdata = {
|
||||
static const struct ide_port_info generic_chipsets[] __devinitconst = {
|
||||
/* 0: Unknown */
|
||||
DECLARE_GENERIC_PCI_DEV(0),
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ static const struct ide_port_ops it8172_port_ops = {
|
||||
.set_dma_mode = it8172_set_dma_mode,
|
||||
};
|
||||
|
||||
static const struct ide_port_info it8172_port_info __devinitdata = {
|
||||
static const struct ide_port_info it8172_port_info __devinitconst = {
|
||||
.name = DRV_NAME,
|
||||
.port_ops = &it8172_port_ops,
|
||||
.enablebits = { {0x41, 0x80, 0x80}, {0x00, 0x00, 0x00} },
|
||||
|
||||
@@ -156,7 +156,7 @@ static const struct ide_port_ops it8213_port_ops = {
|
||||
.cable_detect = it8213_cable_detect,
|
||||
};
|
||||
|
||||
static const struct ide_port_info it8213_chipset __devinitdata = {
|
||||
static const struct ide_port_info it8213_chipset __devinitconst = {
|
||||
.name = DRV_NAME,
|
||||
.enablebits = { {0x41, 0x80, 0x80} },
|
||||
.port_ops = &it8213_port_ops,
|
||||
|
||||
@@ -630,7 +630,7 @@ static const struct ide_port_ops it821x_port_ops = {
|
||||
.cable_detect = it821x_cable_detect,
|
||||
};
|
||||
|
||||
static const struct ide_port_info it821x_chipset __devinitdata = {
|
||||
static const struct ide_port_info it821x_chipset __devinitconst = {
|
||||
.name = DRV_NAME,
|
||||
.init_chipset = init_chipset_it821x,
|
||||
.init_hwif = init_hwif_it821x,
|
||||
|
||||
@@ -102,7 +102,7 @@ static const struct ide_port_ops jmicron_port_ops = {
|
||||
.cable_detect = jmicron_cable_detect,
|
||||
};
|
||||
|
||||
static const struct ide_port_info jmicron_chipset __devinitdata = {
|
||||
static const struct ide_port_info jmicron_chipset __devinitconst = {
|
||||
.name = DRV_NAME,
|
||||
.enablebits = { { 0x40, 0x01, 0x01 }, { 0x40, 0x10, 0x10 } },
|
||||
.port_ops = &jmicron_port_ops,
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user