diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 15:05:51 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 15:05:51 -0500 |
commit | 06991c28f37ad68e5c03777f5c3b679b56e3dac1 (patch) | |
tree | 4be75788e21c3c644fe6d39abf47693a171cf4f8 /drivers/ata | |
parent | 460dc1eecf37263c8e3b17685ef236f0d236facb (diff) | |
parent | 74fef7a8fd1d2bd94f925d6638bb4c3049e7c381 (diff) |
Merge tag 'driver-core-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core patches from Greg Kroah-Hartman:
"Here is the big driver core merge for 3.9-rc1
There are two major series here, both of which touch lots of drivers
all over the kernel, and will cause you some merge conflicts:
- add a new function called devm_ioremap_resource() to properly be
able to check return values.
- remove CONFIG_EXPERIMENTAL
Other than those patches, there's not much here, some minor fixes and
updates"
Fix up trivial conflicts
* tag 'driver-core-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (221 commits)
base: memory: fix soft/hard_offline_page permissions
drivercore: Fix ordering between deferred_probe and exiting initcalls
backlight: fix class_find_device() arguments
TTY: mark tty_get_device call with the proper const values
driver-core: constify data for class_find_device()
firmware: Ignore abort check when no user-helper is used
firmware: Reduce ifdef CONFIG_FW_LOADER_USER_HELPER
firmware: Make user-mode helper optional
firmware: Refactoring for splitting user-mode helper code
Driver core: treat unregistered bus_types as having no devices
watchdog: Convert to devm_ioremap_resource()
thermal: Convert to devm_ioremap_resource()
spi: Convert to devm_ioremap_resource()
power: Convert to devm_ioremap_resource()
mtd: Convert to devm_ioremap_resource()
mmc: Convert to devm_ioremap_resource()
mfd: Convert to devm_ioremap_resource()
media: Convert to devm_ioremap_resource()
iommu: Convert to devm_ioremap_resource()
drm: Convert to devm_ioremap_resource()
...
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/Kconfig | 24 | ||||
-rw-r--r-- | drivers/ata/pata_ep93xx.c | 7 |
2 files changed, 16 insertions, 15 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index e08d322d01d7..cdadce23e66d 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig | |||
@@ -163,7 +163,7 @@ config SATA_QSTOR | |||
163 | 163 | ||
164 | config SATA_SX4 | 164 | config SATA_SX4 |
165 | tristate "Promise SATA SX4 support (Experimental)" | 165 | tristate "Promise SATA SX4 support (Experimental)" |
166 | depends on PCI && EXPERIMENTAL | 166 | depends on PCI |
167 | help | 167 | help |
168 | This option enables support for Promise Serial ATA SX4. | 168 | This option enables support for Promise Serial ATA SX4. |
169 | 169 | ||
@@ -390,7 +390,7 @@ config PATA_CS5530 | |||
390 | 390 | ||
391 | config PATA_CS5535 | 391 | config PATA_CS5535 |
392 | tristate "CS5535 PATA support (Experimental)" | 392 | tristate "CS5535 PATA support (Experimental)" |
393 | depends on PCI && X86 && !X86_64 && EXPERIMENTAL | 393 | depends on PCI && X86 && !X86_64 |
394 | help | 394 | help |
395 | This option enables support for the NatSemi/AMD CS5535 | 395 | This option enables support for the NatSemi/AMD CS5535 |
396 | companion chip used with the Geode processor family. | 396 | companion chip used with the Geode processor family. |
@@ -408,7 +408,7 @@ config PATA_CS5536 | |||
408 | 408 | ||
409 | config PATA_CYPRESS | 409 | config PATA_CYPRESS |
410 | tristate "Cypress CY82C693 PATA support (Very Experimental)" | 410 | tristate "Cypress CY82C693 PATA support (Very Experimental)" |
411 | depends on PCI && EXPERIMENTAL | 411 | depends on PCI |
412 | help | 412 | help |
413 | This option enables support for the Cypress/Contaq CY82C693 | 413 | This option enables support for the Cypress/Contaq CY82C693 |
414 | chipset found in some Alpha systems | 414 | chipset found in some Alpha systems |
@@ -496,7 +496,7 @@ config PATA_IMX | |||
496 | 496 | ||
497 | config PATA_IT8213 | 497 | config PATA_IT8213 |
498 | tristate "IT8213 PATA support (Experimental)" | 498 | tristate "IT8213 PATA support (Experimental)" |
499 | depends on PCI && EXPERIMENTAL | 499 | depends on PCI |
500 | help | 500 | help |
501 | This option enables support for the ITE 821 PATA | 501 | This option enables support for the ITE 821 PATA |
502 | controllers via the new ATA layer. | 502 | controllers via the new ATA layer. |
@@ -589,7 +589,7 @@ config PATA_OLDPIIX | |||
589 | 589 | ||
590 | config PATA_OPTIDMA | 590 | config PATA_OPTIDMA |
591 | tristate "OPTI FireStar PATA support (Very Experimental)" | 591 | tristate "OPTI FireStar PATA support (Very Experimental)" |
592 | depends on PCI && EXPERIMENTAL | 592 | depends on PCI |
593 | help | 593 | help |
594 | This option enables DMA/PIO support for the later OPTi | 594 | This option enables DMA/PIO support for the later OPTi |
595 | controllers found on some old motherboards and in some | 595 | controllers found on some old motherboards and in some |
@@ -616,7 +616,7 @@ config PATA_PDC_OLD | |||
616 | 616 | ||
617 | config PATA_RADISYS | 617 | config PATA_RADISYS |
618 | tristate "RADISYS 82600 PATA support (Experimental)" | 618 | tristate "RADISYS 82600 PATA support (Experimental)" |
619 | depends on PCI && EXPERIMENTAL | 619 | depends on PCI |
620 | help | 620 | help |
621 | This option enables support for the RADISYS 82600 | 621 | This option enables support for the RADISYS 82600 |
622 | PATA controllers via the new ATA layer | 622 | PATA controllers via the new ATA layer |
@@ -687,7 +687,7 @@ config PATA_SIS | |||
687 | 687 | ||
688 | config PATA_TOSHIBA | 688 | config PATA_TOSHIBA |
689 | tristate "Toshiba Piccolo support (Experimental)" | 689 | tristate "Toshiba Piccolo support (Experimental)" |
690 | depends on PCI && EXPERIMENTAL | 690 | depends on PCI |
691 | help | 691 | help |
692 | Support for the Toshiba Piccolo controllers. Currently only the | 692 | Support for the Toshiba Piccolo controllers. Currently only the |
693 | primary channel is supported by this driver. | 693 | primary channel is supported by this driver. |
@@ -738,7 +738,7 @@ comment "PIO-only SFF controllers" | |||
738 | 738 | ||
739 | config PATA_AT32 | 739 | config PATA_AT32 |
740 | tristate "Atmel AVR32 PATA support (Experimental)" | 740 | tristate "Atmel AVR32 PATA support (Experimental)" |
741 | depends on AVR32 && PLATFORM_AT32AP && EXPERIMENTAL | 741 | depends on AVR32 && PLATFORM_AT32AP |
742 | help | 742 | help |
743 | This option enables support for the IDE devices on the | 743 | This option enables support for the IDE devices on the |
744 | Atmel AT32AP platform. | 744 | Atmel AT32AP platform. |
@@ -755,7 +755,7 @@ config PATA_AT91 | |||
755 | 755 | ||
756 | config PATA_CMD640_PCI | 756 | config PATA_CMD640_PCI |
757 | tristate "CMD640 PCI PATA support (Experimental)" | 757 | tristate "CMD640 PCI PATA support (Experimental)" |
758 | depends on PCI && EXPERIMENTAL | 758 | depends on PCI |
759 | help | 759 | help |
760 | This option enables support for the CMD640 PCI IDE | 760 | This option enables support for the CMD640 PCI IDE |
761 | interface chip. Only the primary channel is currently | 761 | interface chip. Only the primary channel is currently |
@@ -801,7 +801,7 @@ config PATA_NS87410 | |||
801 | 801 | ||
802 | config PATA_OPTI | 802 | config PATA_OPTI |
803 | tristate "OPTI621/6215 PATA support (Very Experimental)" | 803 | tristate "OPTI621/6215 PATA support (Very Experimental)" |
804 | depends on PCI && EXPERIMENTAL | 804 | depends on PCI |
805 | help | 805 | help |
806 | This option enables full PIO support for the early Opti ATA | 806 | This option enables full PIO support for the early Opti ATA |
807 | controllers found on some old motherboards. | 807 | controllers found on some old motherboards. |
@@ -881,7 +881,7 @@ config PATA_SAMSUNG_CF | |||
881 | 881 | ||
882 | config PATA_WINBOND_VLB | 882 | config PATA_WINBOND_VLB |
883 | tristate "Winbond W83759A VLB PATA support (Experimental)" | 883 | tristate "Winbond W83759A VLB PATA support (Experimental)" |
884 | depends on ISA && EXPERIMENTAL | 884 | depends on ISA |
885 | select PATA_LEGACY | 885 | select PATA_LEGACY |
886 | help | 886 | help |
887 | Support for the Winbond W83759A controller on Vesa Local Bus | 887 | Support for the Winbond W83759A controller on Vesa Local Bus |
@@ -909,7 +909,7 @@ config ATA_GENERIC | |||
909 | 909 | ||
910 | config PATA_LEGACY | 910 | config PATA_LEGACY |
911 | tristate "Legacy ISA PATA support (Experimental)" | 911 | tristate "Legacy ISA PATA support (Experimental)" |
912 | depends on (ISA || PCI) && EXPERIMENTAL | 912 | depends on (ISA || PCI) |
913 | help | 913 | help |
914 | This option enables support for ISA/VLB/PCI bus legacy PATA | 914 | This option enables support for ISA/VLB/PCI bus legacy PATA |
915 | ports and allows them to be accessed via the new ATA layer. | 915 | ports and allows them to be accessed via the new ATA layer. |
diff --git a/drivers/ata/pata_ep93xx.c b/drivers/ata/pata_ep93xx.c index 556222f04731..c1bfaf43d109 100644 --- a/drivers/ata/pata_ep93xx.c +++ b/drivers/ata/pata_ep93xx.c | |||
@@ -31,6 +31,7 @@ | |||
31 | * Copyright (C) 2006 Tower Technologies | 31 | * Copyright (C) 2006 Tower Technologies |
32 | */ | 32 | */ |
33 | 33 | ||
34 | #include <linux/err.h> | ||
34 | #include <linux/kernel.h> | 35 | #include <linux/kernel.h> |
35 | #include <linux/module.h> | 36 | #include <linux/module.h> |
36 | #include <linux/init.h> | 37 | #include <linux/init.h> |
@@ -937,9 +938,9 @@ static int ep93xx_pata_probe(struct platform_device *pdev) | |||
937 | goto err_rel_gpio; | 938 | goto err_rel_gpio; |
938 | } | 939 | } |
939 | 940 | ||
940 | ide_base = devm_request_and_ioremap(&pdev->dev, mem_res); | 941 | ide_base = devm_ioremap_resource(&pdev->dev, mem_res); |
941 | if (!ide_base) { | 942 | if (IS_ERR(ide_base)) { |
942 | err = -ENXIO; | 943 | err = PTR_ERR(ide_base); |
943 | goto err_rel_gpio; | 944 | goto err_rel_gpio; |
944 | } | 945 | } |
945 | 946 | ||