Skip to contentSkip to conversation

2.5.22 broke kernel modular Pcmcia ?

DISCUSSION Jean Tourrilhes 2 participants 2 messages Jun 18, 2002 PCI

lore
Share & tools
lore
#0 lore raw
	Hi,

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

Jean

#1 lore raw
Quoted 1 line · Jean Tourrilhes
	Hi,

Hi Jean,

Quoted 6 lines

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.

Quoted 1 line

Jean

cu
Adrian

Date: Tue, 18 Jun 2002 18:01:24 +0200
From: Stelian Pop <[email protected]>
To: Linus Torvalds <[email protected]>, [email protected]
Cc: Linux Kernel Mailing List <[email protected]>
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 =====

drivers/pci/pci-driver.c +1 -0
@@ -210,3 +210,4 @@
 EXPORT_SYMBOL(pci_register_driver);
 EXPORT_SYMBOL(pci_unregister_driver);
 EXPORT_SYMBOL(pci_dev_driver);
+EXPORT_SYMBOL(pci_bus_type);
Signature · 2 lines
Stelian Pop <[email protected]>
Alcove - http://www.alcove.com