public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] net: i40e: fix build, depends on CONFIGFS_FS
@ 2015-03-03 19:35 Randy Dunlap
  2015-03-03 20:02 ` David Miller
  2015-03-03 20:11 ` Jeff Kirsher
  0 siblings, 2 replies; 4+ messages in thread
From: Randy Dunlap @ 2015-03-03 19:35 UTC (permalink / raw)
  To: netdev@vger.kernel.org, LKML; +Cc: Linux NICS, Jeff Kirsher

From: Randy Dunlap <rdunlap@infradead.org>

i40e uses configfs interfaces so it should depend on CONFIGFS_FS.

Fixes these build errors:

drivers/built-in.o: In function `i40e_cfgfs_group_make_item':
i40e_configfs.c:(.text+0x2fcdca): undefined reference to `config_item_init_type_name'
drivers/built-in.o: In function `i40e_configfs_init':
(.text+0x2fcee6): undefined reference to `config_group_init'
drivers/built-in.o: In function `i40e_configfs_init':
(.text+0x2fcf0c): undefined reference to `configfs_register_subsystem'
drivers/built-in.o: In function `i40e_configfs_exit':
(.text+0x2fcf71): undefined reference to `configfs_unregister_subsystem'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc:	Linux NICS <linux.nics@intel.com>
Cc:	Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
 drivers/net/ethernet/intel/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20150303.orig/drivers/net/ethernet/intel/Kconfig
+++ linux-next-20150303/drivers/net/ethernet/intel/Kconfig
@@ -256,6 +256,7 @@ config I40E
 	tristate "Intel(R) Ethernet Controller XL710 Family support"
 	select PTP_1588_CLOCK
 	depends on PCI
+	depends on CONFIGFS_FS
 	---help---
 	  This driver supports Intel(R) Ethernet Controller XL710 Family of
 	  devices.  For more information on how to identify your adapter, go

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-03 20:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-03 19:35 [PATCH -next] net: i40e: fix build, depends on CONFIGFS_FS Randy Dunlap
2015-03-03 20:02 ` David Miller
2015-03-03 20:23   ` Jeff Kirsher
2015-03-03 20:11 ` Jeff Kirsher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox