public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@linux-foundation.org>, dedekind@infradead.org
Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [-mm patch] MTD_UBI_DEBUG must depend on SYSFS
Date: Wed, 21 Feb 2007 11:52:46 +0100	[thread overview]
Message-ID: <20070221105246.GB13958@stusta.de> (raw)
In-Reply-To: <20070217215146.30e7ffa3.akpm@linux-foundation.org>

On Sat, Feb 17, 2007 at 09:51:46PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-mm1:
>...
>  git-ubi.patch
>...
>  git trees
>...


If you select an option, you have to ensure that the dependencies of all 
options you are select'ing are fulfilled.

This patch fixes the following compile error:

<--  snip  -->

...
  LD      .tmp_vmlinux1
fs/built-in.o: In function `debugfs_init':
inode.c:(.init.text+0x3621): undefined reference to `kernel_subsys'
make[1]: *** [.tmp_vmlinux1] Error 1

<--  snip  -->

I've also removed the superfluous "default n".

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- linux-2.6.20-mm2/drivers/mtd/ubi/Kconfig.debug.old	2007-02-20 19:57:23.000000000 +0100
+++ linux-2.6.20-mm2/drivers/mtd/ubi/Kconfig.debug	2007-02-20 19:57:51.000000000 +0100
@@ -5,7 +5,7 @@
 
 config MTD_UBI_DEBUG
 	bool "UBI debugging"
-	default n
+	depends on SYSFS
 	depends on MTD_UBI
 	select DEBUG_FS
 	select KALLSYMS_ALL

           reply	other threads:[~2007-02-21 10:54 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20070217215146.30e7ffa3.akpm@linux-foundation.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070221105246.GB13958@stusta.de \
    --to=bunk@stusta.de \
    --cc=akpm@linux-foundation.org \
    --cc=dedekind@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox