[PATCH] Char: select fw_loader by moxa

摘自: LKML  被阅读次数: 28


由'机器人'于 2008-05-13 23:01:26 提供


From jirislaby@gmail ...
Subject[PATCH] Char: select fw_loader by moxa
DateTue, 13 May 2008 17:00:55 +0200
From: Jiri Slaby <jirislaby@gmail.com>

Select FW_LOADER since moxa needs it, otherwise we face link problems
such as:
drivers/built-in.o: In function
moxa_pci_probe':moxa.c:(.devinit.text+0x76d8): undefined reference to
request_firmware'
:moxa.c:(.devinit.text+0x7e6e): undefined reference to release_firmware'
make: *** [.tmp_vmlinux1] Error 1

Reported-by: Philippe Roussel <p.o.roussel@free.fr>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
 drivers/char/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index c3e49f2..da73690 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -203,6 +203,7 @@ config ESPSERIAL
 config MOXA_INTELLIO
 	tristate "Moxa Intellio support"
 	depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI)
+	select FW_LOADER
 	help
 	  Say Y here if you have a Moxa Intellio multiport serial card.
 
-- 
1.5.4.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

原文链接: http://lkml.org/lkml/2008/5/13/223
下载该patch