public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* chelsio build failure
@ 2005-04-06  5:37 Dave Jones
  0 siblings, 0 replies; only message in thread
From: Dave Jones @ 2005-04-06  5:37 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

building this sucker as a module caused grief.

drivers/net/chelsio/cxgb2.c:113: error: `__mod_pci_device_table' aliased
to external symbol `t1_pci_tbl'.

This seems to do the trick. (untested beyond compile)

Signed-off-by: Dave Jones <davej@redhat.com>

		Dave

--- 2.6.12rc2mm1/drivers/net/chelsio/cxgb2.c~	2005-04-06 01:30:07.000000000 -0400
+++ 2.6.12rc2mm1/drivers/net/chelsio/cxgb2.c	2005-04-06 01:30:20.000000000 -0400
@@ -110,7 +110,6 @@ static char driver_version[] = "2.1.0";
 MODULE_DESCRIPTION(MODULE_DESC);
 MODULE_AUTHOR("Chelsio Communications");
 MODULE_LICENSE("GPL");
-MODULE_DEVICE_TABLE(pci, t1_pci_tbl);
 
 static int dflt_msg_enable = DFLT_MSG_ENABLE;
 
--- 2.6.12rc2mm1/drivers/net/chelsio/subr.c~	2005-04-06 01:30:25.000000000 -0400
+++ 2.6.12rc2mm1/drivers/net/chelsio/subr.c	2005-04-06 01:30:35.000000000 -0400
@@ -307,6 +307,7 @@ struct pci_device_id t1_pci_tbl[] = {
 	CH_DEVICE(10, 1, CH_BRD_N210_1F),
 	{ 0, }
 };
+MODULE_DEVICE_TABLE(pci, t1_pci_tbl);
 
 /*
  * Return the board_info structure with a given index.  Out-of-range indices

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-06  5:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-06  5:37 chelsio build failure Dave Jones

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