Re: 2.5.22 broke kernel modular Pcmcia ?

From: Adrian Bunk (bunk@fs.tum.de)
Date: Tue Jun 18 2002 - 18:09:25 EST


On Tue, 18 Jun 2002, Jean Tourrilhes wrote:

> Hi,

Hi Jean,

> I had a quick look in the archive and didn't find a report of
> this problem :
> --------------------------------
> Starting PCMCIA services: /lib/modules/2.5.22/kernel/drivers/pcmcia/pcmcia_core.o: unresolved symbol pci_bus_type
> --------------------------------
> Sorry if it's a duplicate...

the mail below with a patch was sent a few hours ago.

> Jean

cu
Adrian

Date: Tue, 18 Jun 2002 18:01:24 +0200
From: Stelian Pop <stelian.pop@fr.alcove.com>
To: Linus Torvalds <torvalds@transmeta.com>, mochel@osdl.org
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.5] export pci_bus_type to modules.

Hi,

The attached patch (against the BK head, which wasn't yet updated to
2.5.22 btw) exports the pci_bus_type symbol to modules, needed by
(at least) the recent changes in pcmcia/cardbus.c.

Stelian.

===== drivers/pci/pci-driver.c 1.14 vs edited =====
--- 1.14/drivers/pci/pci-driver.c Sun Jun 9 01:07:49 2002
+++ edited/drivers/pci/pci-driver.c Tue Jun 18 17:53:41 2002
@@ -210,3 +210,4 @@
 EXPORT_SYMBOL(pci_register_driver);
 EXPORT_SYMBOL(pci_unregister_driver);
 EXPORT_SYMBOL(pci_dev_driver);
+EXPORT_SYMBOL(pci_bus_type);

-- 
Stelian Pop <stelian.pop@fr.alcove.com>
Alcove - http://www.alcove.com

- 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/



This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:17 EST