diff options
author | Daniel Drake <dsd@gentoo.org> | 2006-04-29 06:41:44 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@gmail.com> | 2006-04-29 09:48:55 -0400 |
commit | fbbc21c6a491503e55e08e3f7c4629c1337ea1cc (patch) | |
tree | 12edcb1cfb2d687655819fb85b3035dfee5e375d /drivers/mtd/maps | |
parent | 954c24227318c166ec1925e1229db442e1f56f51 (diff) |
mtd: SC520CDP should depend on MTD_CONCAT
Toralf Förster found a compile error when CONFIG_MTD_SC520CDP=y and
CONFIG_MTD_CONCAT=n:
drivers/built-in.o: In function `init_sc520cdp':
sc520cdp.c:(.init.text+0xb4de): undefined reference to `mtd_concat_create'
drivers/built-in.o: In function `cleanup_sc520cdp':
sc520cdp.c:(.exit.text+0x14bc): undefined reference to `mtd_concat_destroy'
This patch fixes it.
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
Diffstat (limited to 'drivers/mtd/maps')
-rw-r--r-- | drivers/mtd/maps/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig index 7abd7fee0dda..80d6810e88ed 100644 --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig | |||
@@ -78,7 +78,7 @@ config MTD_PNC2000 | |||
78 | 78 | ||
79 | config MTD_SC520CDP | 79 | config MTD_SC520CDP |
80 | tristate "CFI Flash device mapped on AMD SC520 CDP" | 80 | tristate "CFI Flash device mapped on AMD SC520 CDP" |
81 | depends on X86 && MTD_CFI | 81 | depends on X86 && MTD_CFI && MTD_CONCAT |
82 | help | 82 | help |
83 | The SC520 CDP board has two banks of CFI-compliant chips and one | 83 | The SC520 CDP board has two banks of CFI-compliant chips and one |
84 | Dual-in-line JEDEC chip. This 'mapping' driver supports that | 84 | Dual-in-line JEDEC chip. This 'mapping' driver supports that |