[2.6 patch] TMS380TR must select FW_LOADER

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I got the following compile error with CONFIG_FW_LOADER=n:

<--  snip  -->

...
  LD      .tmp_vmlinux1
drivers/built-in.o(.text+0x297944): In function `tms380tr_reset_adapter':
: undefined reference to `request_firmware'
drivers/built-in.o(.text+0x297aaf): In function `tms380tr_reset_adapter':
: undefined reference to `release_firmware'
drivers/built-in.o(.text+0x297af9): In function `tms380tr_reset_adapter':
: undefined reference to `release_firmware'
make: *** [.tmp_vmlinux1] Error 1

<--  snip  -->


CONFIG_TMS380TR must select FW_LOADER (and therefore depend on HOTPLUG).


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

--- linux-2.6.8-rc3-mm2-full-3.4/drivers/net/tokenring/Kconfig.old	2004-08-09 22:03:10.000000000 +0200
+++ linux-2.6.8-rc3-mm2-full-3.4/drivers/net/tokenring/Kconfig	2004-08-09 22:04:22.000000000 +0200
@@ -84,7 +84,8 @@
 
 config TMS380TR
 	tristate "Generic TMS380 Token Ring ISA/PCI adapter support"
-	depends on TR && (PCI || ISA)
+	depends on TR && (PCI || ISA) && HOTPLUG
+	select FW_LOADER
 	---help---
 	  This driver provides generic support for token ring adapters
 	  based on the Texas Instruments TMS380 series chipsets.  This


-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux