diff options
| author | Arnd Bergmann <[email protected]> | 2017-11-10 14:57:21 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-12-17 20:20:58 +0000 |
| commit | b9f5fb1800d8a4a3bc6cd3152c5f3d252986cf79 (patch) | |
| tree | 25509d31942911a9b3bc9f4278939e140209ee9e /drivers/pci/hotplug/ibmphp.h | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff) | |
| download | kernel-b9f5fb1800d8a4a3bc6cd3152c5f3d252986cf79.tar.gz kernel-b9f5fb1800d8a4a3bc6cd3152c5f3d252986cf79.zip | |
cramfs: fix MTD dependency
With CONFIG_MTD=m and CONFIG_CRAMFS=y, we now get a link failure:
fs/cramfs/inode.o: In function `cramfs_mount': inode.c:(.text+0x220): undefined reference to `mount_mtd'
fs/cramfs/inode.o: In function `cramfs_mtd_fill_super':
inode.c:(.text+0x6d8): undefined reference to `mtd_point'
inode.c:(.text+0xae4): undefined reference to `mtd_unpoint'
This adds a more specific Kconfig dependency to avoid the broken
configuration.
Alternatively we could make CRAMFS itself depend on "MTD || !MTD" with a
similar result.
Fixes: 99c18ce580c6 ("cramfs: direct memory access support")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Nicolas Pitre <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp.h')
0 files changed, 0 insertions, 0 deletions
