Commit 7159f489 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI: move the EXPORT_SYMBOL(pcibios_*) declarations to the proper file.

parent d52a86be
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
# Makefile for the PCI bus specific drivers. # Makefile for the PCI bus specific drivers.
# #
export-objs := access.o hotplug.o pci-driver.o pci.o pool.o probe.o proc.o search.o export-objs := access.o hotplug.o pci-driver.o pci.o pool.o \
probe.o proc.o search.o compat.o
obj-y += access.o probe.o pci.o pool.o quirks.o \ obj-y += access.o probe.o pci.o pool.o quirks.o \
compat.o names.o pci-driver.o search.o compat.o names.o pci-driver.o search.o
......
...@@ -8,8 +8,11 @@ ...@@ -8,8 +8,11 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h> #include <linux/pci.h>
/* Obsolete functions, these will be going away... */
int int
pcibios_present(void) pcibios_present(void)
{ {
...@@ -63,3 +66,14 @@ PCI_OP(read, dword, int *) ...@@ -63,3 +66,14 @@ PCI_OP(read, dword, int *)
PCI_OP(write, byte, char) PCI_OP(write, byte, char)
PCI_OP(write, word, short) PCI_OP(write, word, short)
PCI_OP(write, dword, int) PCI_OP(write, dword, int)
EXPORT_SYMBOL(pcibios_present);
EXPORT_SYMBOL(pcibios_read_config_byte);
EXPORT_SYMBOL(pcibios_read_config_word);
EXPORT_SYMBOL(pcibios_read_config_dword);
EXPORT_SYMBOL(pcibios_write_config_byte);
EXPORT_SYMBOL(pcibios_write_config_word);
EXPORT_SYMBOL(pcibios_write_config_dword);
EXPORT_SYMBOL(pcibios_find_class);
EXPORT_SYMBOL(pcibios_find_device);
...@@ -602,18 +602,6 @@ EXPORT_SYMBOL(pci_save_state); ...@@ -602,18 +602,6 @@ EXPORT_SYMBOL(pci_save_state);
EXPORT_SYMBOL(pci_restore_state); EXPORT_SYMBOL(pci_restore_state);
EXPORT_SYMBOL(pci_enable_wake); EXPORT_SYMBOL(pci_enable_wake);
/* Obsolete functions */
EXPORT_SYMBOL(pcibios_present);
EXPORT_SYMBOL(pcibios_read_config_byte);
EXPORT_SYMBOL(pcibios_read_config_word);
EXPORT_SYMBOL(pcibios_read_config_dword);
EXPORT_SYMBOL(pcibios_write_config_byte);
EXPORT_SYMBOL(pcibios_write_config_word);
EXPORT_SYMBOL(pcibios_write_config_dword);
EXPORT_SYMBOL(pcibios_find_class);
EXPORT_SYMBOL(pcibios_find_device);
/* Quirk info */ /* Quirk info */
EXPORT_SYMBOL(isa_dma_bridge_buggy); EXPORT_SYMBOL(isa_dma_bridge_buggy);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment