From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org, pcihpd-discuss@lists.sourceforge.net
Subject: [PATCH] PCI hotplug changes for 2.5.46
Date: Tue, 5 Nov 2002 17:38:35 -0800 [thread overview]
Message-ID: <20021106013835.GT18627@kroah.com> (raw)
In-Reply-To: <20021106013741.GS18627@kroah.com>
[oops, forgot to change the Subject: for the first two patches, sorry]
ChangeSet 1.875.1.3, 2002/11/02 22:57:45-08:00, greg@kroah.com
PCI: move EXPORT_SYMBOL for the pbus functions to the setup-bus.c file.
This fixes a linking error if setup-bus.c isn't compiled into the kernel.
diff -Nru a/drivers/pci/Makefile b/drivers/pci/Makefile
--- a/drivers/pci/Makefile Tue Nov 5 17:26:20 2002
+++ b/drivers/pci/Makefile Tue Nov 5 17:26:20 2002
@@ -3,7 +3,7 @@
#
export-objs := access.o hotplug.o pci-driver.o pci.o pool.o \
- probe.o proc.o search.o compat.o
+ probe.o proc.o search.o compat.o setup-bus.o
obj-y += access.o probe.o pci.o pool.o quirks.o \
compat.o names.o pci-driver.o search.o hotplug.o
diff -Nru a/drivers/pci/pci.c b/drivers/pci/pci.c
--- a/drivers/pci/pci.c Tue Nov 5 17:26:20 2002
+++ b/drivers/pci/pci.c Tue Nov 5 17:26:20 2002
@@ -745,8 +745,6 @@
EXPORT_SYMBOL(pci_dac_set_dma_mask);
EXPORT_SYMBOL(pci_assign_resource);
EXPORT_SYMBOL(pci_find_parent_resource);
-EXPORT_SYMBOL(pbus_size_bridges);
-EXPORT_SYMBOL(pbus_assign_resources);
EXPORT_SYMBOL(pci_set_power_state);
EXPORT_SYMBOL(pci_save_state);
diff -Nru a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
--- a/drivers/pci/setup-bus.c Tue Nov 5 17:26:20 2002
+++ b/drivers/pci/setup-bus.c Tue Nov 5 17:26:20 2002
@@ -19,6 +19,7 @@
#include <linux/init.h>
#include <linux/kernel.h>
+#include <linux/module.h>
#include <linux/pci.h>
#include <linux/errno.h>
#include <linux/ioport.h>
@@ -357,6 +358,7 @@
}
pbus_size_mem(bus, mask, type);
}
+EXPORT_SYMBOL(pbus_size_bridges);
void __devinit
pbus_assign_resources(struct pci_bus *bus)
@@ -379,6 +381,7 @@
pci_setup_bridge(b);
}
}
+EXPORT_SYMBOL(pbus_assign_resources);
void __init
pci_assign_unassigned_resources(void)
next prev parent reply other threads:[~2002-11-06 1:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-06 1:36 [BK PATCH] PCI hotplug changes for 2.5.46 Greg KH
2002-11-06 1:37 ` Greg KH
2002-11-06 1:37 ` Greg KH
2002-11-06 1:38 ` Greg KH [this message]
2002-11-06 1:39 ` [PATCH] " Greg KH
2002-11-06 1:43 ` Greg KH
2002-11-06 1:43 ` Greg KH
2002-11-06 1:44 ` Greg KH
2002-11-06 1:45 ` Greg KH
2002-11-06 1:46 ` Greg KH
2002-11-06 1:47 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021106013835.GT18627@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pcihpd-discuss@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.