mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 00:10:09 +00:00
f6fcf7f79b
If CONFIG_MTD is not set goldfish_nand fails to compile with the following linker warnings: drivers/built-in.o: In function `goldfish_nand_remove': goldfish_nand.c:(.text+0x6e7d0e): undefined reference to `mtd_device_unregister' drivers/built-in.o: In function `goldfish_nand_erase': goldfish_nand.c:(.text+0x6e8ba2): undefined reference to `mtd_erase_callback' drivers/built-in.o: In function `goldfish_nand_init_device': goldfish_nand.c:(.text+0x6e8eba): undefined reference to `mtd_device_parse_register' Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 lines
352 B
Text
13 lines
352 B
Text
config GOLDFISH_AUDIO
|
|
tristate "Goldfish AVD Audio Device"
|
|
depends on GOLDFISH
|
|
---help---
|
|
Emulated audio channel for the Goldfish Android Virtual Device
|
|
|
|
config MTD_GOLDFISH_NAND
|
|
tristate "Goldfish NAND device"
|
|
depends on GOLDFISH
|
|
depends on MTD
|
|
help
|
|
Drives the emulated NAND flash device on the Google Goldfish
|
|
Android virtual device.
|