libata: zpodd: should depend on PM_RUNTIME
authorAaron Lu <aaron.lu@intel.com>
Fri, 14 Mar 2014 05:46:08 +0000 (13:46 +0800)
committerTejun Heo <tj@kernel.org>
Fri, 14 Mar 2014 15:23:46 +0000 (11:23 -0400)
ZPODD is built on top of runtime PM functionality, it doesn't make sense
to have it in a kernel that doesn't have CONFIG_PM_RUNTIME set.

Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/Kconfig

index e4ac81989a6c3e4c452f8e60c6d219be50e93c5e..0bec5ac14103a3118465776fc778df2d20542432 100644 (file)
@@ -60,7 +60,7 @@ config ATA_ACPI
 
 config SATA_ZPODD
        bool "SATA Zero Power Optical Disc Drive (ZPODD) support"
-       depends on ATA_ACPI
+       depends on ATA_ACPI && PM_RUNTIME
        default n
        help
          This option adds support for SATA Zero Power Optical Disc