]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Fix CONFIG_NVRAM dependencies
authorAndrew Morton <akpm@osdl.org>
Fri, 12 Mar 2004 00:19:34 +0000 (16:19 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 12 Mar 2004 00:19:34 +0000 (16:19 -0800)
From: Geert Uytterhoeven <geert@linux-m68k.org>

Make CONFIG_NVRAM depend on the prerequisites that are explicitly checked
for in drivers/char/nvram.c, or on CONFIG_GENERIC_NVRAM (for PPC).

drivers/char/Kconfig

index d8df594111b1d0bbbdf786eb75ab0f403e561bb2..7d27928c8da519b83524393b699f2ceb16df0de2 100644 (file)
@@ -740,6 +740,7 @@ config HW_RANDOM
 
 config NVRAM
        tristate "/dev/nvram support"
+       depends on ATARI || X86 || X86_64 || ARM || GENERIC_NVRAM
        ---help---
          If you say Y here and create a character special file /dev/nvram
          with major number 10 and minor number 144 using mknod ("man mknod"),