[patch] 2.6.0-test5-mm2: let PM_DISK_PARTITION depend on PM_DISK

From: Adrian Bunk
Date: Mon Sep 15 2003 - 11:22:43 EST


On Sun, Sep 14, 2003 at 11:48:43PM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.0-test5-mm1:
>...
> -test4-pm1.patch
> +test5-pm2.patch
> +test5-pm2-fix.patch
>
> New power management code from Pat.
>...

PM_DISK_PARTITION should only be asked when PM_DISK is enabled:

--- linux-2.6.0-test5-mm2/kernel/power/Kconfig.old 2003-09-15 18:05:40.000000000 +0200
+++ linux-2.6.0-test5-mm2/kernel/power/Kconfig 2003-09-15 18:06:08.000000000 +0200
@@ -66,6 +66,7 @@
config PM_DISK_PARTITION
string "Default resume partition"
default ""
+ depends on PM_DISK
---help---
The default resume partition is the partition that the pmdisk suspend-
to-disk implementation will look for a suspended disk image.


cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/