diff options
author | Andi Kleen <ak@linux.intel.com> | 2012-10-04 20:11:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 14:04:41 -0400 |
commit | e6b53703b9966a3636be2bd4b7b8e0bfeb1b3f8d (patch) | |
tree | 6f08f1ed000481394fc8942a695b097141aa9b86 /drivers/ide/hpt366.c | |
parent | 1849f23d6ff57cf9d57741488adb14e0d7942406 (diff) |
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>
Diffstat (limited to 'drivers/ide/hpt366.c')
-rw-r--r-- | drivers/ide/hpt366.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/ide/hpt366.c b/drivers/ide/hpt366.c index 58c51cddc100..4aec3b87ff91 100644 --- a/drivers/ide/hpt366.c +++ b/drivers/ide/hpt366.c | |||
@@ -443,7 +443,7 @@ static struct hpt_timings hpt37x_timings = { | |||
443 | } | 443 | } |
444 | }; | 444 | }; |
445 | 445 | ||
446 | static const struct hpt_info hpt36x __devinitdata = { | 446 | static const struct hpt_info hpt36x __devinitconst = { |
447 | .chip_name = "HPT36x", | 447 | .chip_name = "HPT36x", |
448 | .chip_type = HPT36x, | 448 | .chip_type = HPT36x, |
449 | .udma_mask = HPT366_ALLOW_ATA66_3 ? (HPT366_ALLOW_ATA66_4 ? ATA_UDMA4 : ATA_UDMA3) : ATA_UDMA2, | 449 | .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 = { | |||
451 | .timings = &hpt36x_timings | 451 | .timings = &hpt36x_timings |
452 | }; | 452 | }; |
453 | 453 | ||
454 | static const struct hpt_info hpt370 __devinitdata = { | 454 | static const struct hpt_info hpt370 __devinitconst = { |
455 | .chip_name = "HPT370", | 455 | .chip_name = "HPT370", |
456 | .chip_type = HPT370, | 456 | .chip_type = HPT370, |
457 | .udma_mask = HPT370_ALLOW_ATA100_5 ? ATA_UDMA5 : ATA_UDMA4, | 457 | .udma_mask = HPT370_ALLOW_ATA100_5 ? ATA_UDMA5 : ATA_UDMA4, |
@@ -459,7 +459,7 @@ static const struct hpt_info hpt370 __devinitdata = { | |||
459 | .timings = &hpt37x_timings | 459 | .timings = &hpt37x_timings |
460 | }; | 460 | }; |
461 | 461 | ||
462 | static const struct hpt_info hpt370a __devinitdata = { | 462 | static const struct hpt_info hpt370a __devinitconst = { |
463 | .chip_name = "HPT370A", | 463 | .chip_name = "HPT370A", |
464 | .chip_type = HPT370A, | 464 | .chip_type = HPT370A, |
465 | .udma_mask = HPT370_ALLOW_ATA100_5 ? ATA_UDMA5 : ATA_UDMA4, | 465 | .udma_mask = HPT370_ALLOW_ATA100_5 ? ATA_UDMA5 : ATA_UDMA4, |
@@ -467,7 +467,7 @@ static const struct hpt_info hpt370a __devinitdata = { | |||
467 | .timings = &hpt37x_timings | 467 | .timings = &hpt37x_timings |
468 | }; | 468 | }; |
469 | 469 | ||
470 | static const struct hpt_info hpt374 __devinitdata = { | 470 | static const struct hpt_info hpt374 __devinitconst = { |
471 | .chip_name = "HPT374", | 471 | .chip_name = "HPT374", |
472 | .chip_type = HPT374, | 472 | .chip_type = HPT374, |
473 | .udma_mask = ATA_UDMA5, | 473 | .udma_mask = ATA_UDMA5, |
@@ -475,7 +475,7 @@ static const struct hpt_info hpt374 __devinitdata = { | |||
475 | .timings = &hpt37x_timings | 475 | .timings = &hpt37x_timings |
476 | }; | 476 | }; |
477 | 477 | ||
478 | static const struct hpt_info hpt372 __devinitdata = { | 478 | static const struct hpt_info hpt372 __devinitconst = { |
479 | .chip_name = "HPT372", | 479 | .chip_name = "HPT372", |
480 | .chip_type = HPT372, | 480 | .chip_type = HPT372, |
481 | .udma_mask = HPT372_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, | 481 | .udma_mask = HPT372_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, |
@@ -483,7 +483,7 @@ static const struct hpt_info hpt372 __devinitdata = { | |||
483 | .timings = &hpt37x_timings | 483 | .timings = &hpt37x_timings |
484 | }; | 484 | }; |
485 | 485 | ||
486 | static const struct hpt_info hpt372a __devinitdata = { | 486 | static const struct hpt_info hpt372a __devinitconst = { |
487 | .chip_name = "HPT372A", | 487 | .chip_name = "HPT372A", |
488 | .chip_type = HPT372A, | 488 | .chip_type = HPT372A, |
489 | .udma_mask = HPT372_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, | 489 | .udma_mask = HPT372_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, |
@@ -491,7 +491,7 @@ static const struct hpt_info hpt372a __devinitdata = { | |||
491 | .timings = &hpt37x_timings | 491 | .timings = &hpt37x_timings |
492 | }; | 492 | }; |
493 | 493 | ||
494 | static const struct hpt_info hpt302 __devinitdata = { | 494 | static const struct hpt_info hpt302 __devinitconst = { |
495 | .chip_name = "HPT302", | 495 | .chip_name = "HPT302", |
496 | .chip_type = HPT302, | 496 | .chip_type = HPT302, |
497 | .udma_mask = HPT302_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, | 497 | .udma_mask = HPT302_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, |
@@ -499,7 +499,7 @@ static const struct hpt_info hpt302 __devinitdata = { | |||
499 | .timings = &hpt37x_timings | 499 | .timings = &hpt37x_timings |
500 | }; | 500 | }; |
501 | 501 | ||
502 | static const struct hpt_info hpt371 __devinitdata = { | 502 | static const struct hpt_info hpt371 __devinitconst = { |
503 | .chip_name = "HPT371", | 503 | .chip_name = "HPT371", |
504 | .chip_type = HPT371, | 504 | .chip_type = HPT371, |
505 | .udma_mask = HPT371_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, | 505 | .udma_mask = HPT371_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, |
@@ -507,7 +507,7 @@ static const struct hpt_info hpt371 __devinitdata = { | |||
507 | .timings = &hpt37x_timings | 507 | .timings = &hpt37x_timings |
508 | }; | 508 | }; |
509 | 509 | ||
510 | static const struct hpt_info hpt372n __devinitdata = { | 510 | static const struct hpt_info hpt372n __devinitconst = { |
511 | .chip_name = "HPT372N", | 511 | .chip_name = "HPT372N", |
512 | .chip_type = HPT372N, | 512 | .chip_type = HPT372N, |
513 | .udma_mask = HPT372_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, | 513 | .udma_mask = HPT372_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, |
@@ -515,7 +515,7 @@ static const struct hpt_info hpt372n __devinitdata = { | |||
515 | .timings = &hpt37x_timings | 515 | .timings = &hpt37x_timings |
516 | }; | 516 | }; |
517 | 517 | ||
518 | static const struct hpt_info hpt302n __devinitdata = { | 518 | static const struct hpt_info hpt302n __devinitconst = { |
519 | .chip_name = "HPT302N", | 519 | .chip_name = "HPT302N", |
520 | .chip_type = HPT302N, | 520 | .chip_type = HPT302N, |
521 | .udma_mask = HPT302_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, | 521 | .udma_mask = HPT302_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, |
@@ -523,7 +523,7 @@ static const struct hpt_info hpt302n __devinitdata = { | |||
523 | .timings = &hpt37x_timings | 523 | .timings = &hpt37x_timings |
524 | }; | 524 | }; |
525 | 525 | ||
526 | static const struct hpt_info hpt371n __devinitdata = { | 526 | static const struct hpt_info hpt371n __devinitconst = { |
527 | .chip_name = "HPT371N", | 527 | .chip_name = "HPT371N", |
528 | .chip_type = HPT371N, | 528 | .chip_type = HPT371N, |
529 | .udma_mask = HPT371_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, | 529 | .udma_mask = HPT371_ALLOW_ATA133_6 ? ATA_UDMA6 : ATA_UDMA5, |
@@ -1361,7 +1361,7 @@ static const struct ide_dma_ops hpt36x_dma_ops = { | |||
1361 | .dma_sff_read_status = ide_dma_sff_read_status, | 1361 | .dma_sff_read_status = ide_dma_sff_read_status, |
1362 | }; | 1362 | }; |
1363 | 1363 | ||
1364 | static const struct ide_port_info hpt366_chipsets[] __devinitdata = { | 1364 | static const struct ide_port_info hpt366_chipsets[] __devinitconst = { |
1365 | { /* 0: HPT36x */ | 1365 | { /* 0: HPT36x */ |
1366 | .name = DRV_NAME, | 1366 | .name = DRV_NAME, |
1367 | .init_chipset = init_chipset_hpt366, | 1367 | .init_chipset = init_chipset_hpt366, |