pata_platform: move ARCH_RPC to use MACH_HAS_PATA_PLATFORM
Subsystems (2)
PATCH 1/1 pata_platform: move ARCH_RPC to use MACH_HAS_PATA_PLATFORM
Move ARCH_RPC to using MACH_HAS_PATA_PLATFORM as an example of using this new configuration.
drivers/ata/Kconfig +1 -1
@@ -570,7 +570,7 @@ config MACH_HAS_PATA_PLATFORM config PATA_PLATFORM tristate "Generic platform device PATA support" - depends on EMBEDDED || ARCH_RPC || MACH_HAS_PATA_PLATFORM + depends on EMBEDDED || MACH_HAS_PATA_PLATFORM help This option enables support for generic directly connected ATA devices commonly found on embedded systems.
arch/arm/Kconfig +1 -0
@@ -353,6 +353,7 @@ config ARCH_RPC select ARCH_MAY_HAVE_PC_FDC select ISA_DMA_API select NO_IOPORT + select MACH_HAS_PATA_PLATFORM help On the Acorn Risc-PC, Linux can support the internal IDE disk and CD-ROM interface, serial and parallel port, and the floppy drive.
Quoted 2 lines · Ben Dooks
Move
ARCH_RPCto usingMACH_HAS_PATA_PLATFORMas an example of using this new configuration.
I thought that it had been agreed (on linux-arch) that the name of these options shall be HAVE_foo to enable a driver configuration symbol of foo.
IOW, this should be HAVE_PATA_PLATFORM not MACH_HAS_PATA_PLATFORM.
(Not sure who introduced MACH_HAS_xxx but added Sam and Mathieu since they were involved in the discussion over HAVE_xxx.)
Quoted 9 lines · Russell King - ARM Linux
Quoted 2 lines · Ben Dooks
Move
ARCH_RPCto usingMACH_HAS_PATA_PLATFORMas an example of using this new configuration.I thought that it had been agreed (on linux-arch) that the name of these options shall be
HAVE_footo enable a driver configuration symbol of foo.IOW, this should be
HAVE_PATA_PLATFORMnotMACH_HAS_PATA_PLATFORM.
Ok, HAVE_PATA_PLATFORM should be unique enough without adding anything like HAVE_DRIVER_PATA_PLATFORM. If no-one else objects, I will submit a new version of these two patches.
Signature · 4 lines
Ben Q: What's a light-year? A: One-third less calories than a regular year.