[PATCH] PCI: fix namespace clashes
authorRajesh Shah <rajesh.shah@intel.com>
Mon, 7 Nov 2005 21:37:36 +0000 (13:37 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2005 00:09:18 +0000 (16:09 -0800)
Signed-off-by: Rajesh Shah <rajesh.shah@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_hpc.c
drivers/pci/hotplug/pciehprm_acpi.c
drivers/pci/hotplug/pciehprm_nonacpi.c

index e71f78318d6ed4feebe576fa721d8aaad5a63923..c42b68d3aa2410d27741e51c01585603c58c10b8 100644 (file)
@@ -191,8 +191,8 @@ extern u8   pciehp_handle_power_fault       (u8 hp_slot, void *inst_id);
 /* pci functions */
 extern int     pciehp_configure_device         (struct slot *p_slot);
 extern int     pciehp_unconfigure_device       (struct slot *p_slot);
-extern int     get_hp_hw_control_from_firmware(struct pci_dev *dev);
-extern void    get_hp_params_from_firmware(struct pci_dev *dev,
+extern int     pciehp_get_hp_hw_control_from_firmware(struct pci_dev *dev);
+extern void    pciehp_get_hp_params_from_firmware(struct pci_dev *dev,
                struct hotplug_params *hpp);
 
 
index f2b9b7686f28c279b445e08ce642ff523da8a57b..4a3cecca012c33fcb2a4c5da95838e6e3d718160 100644 (file)
@@ -1418,7 +1418,7 @@ int pcie_init(struct controller * ctrl, struct pcie_device *dev)
                dbg("Bypassing BIOS check for pciehp use on %s\n",
                                pci_name(ctrl->pci_dev));
        } else {
-               rc = get_hp_hw_control_from_firmware(ctrl->pci_dev);
+               rc = pciehp_get_hp_hw_control_from_firmware(ctrl->pci_dev);
                if (rc)
                        goto abort_free_ctlr;
        }
index 4d013f86b1a59462ff96431c2e22a46445f36659..ae244e21862075107c41ad057683567c6923fa92 100644 (file)
@@ -169,7 +169,7 @@ static int is_root_bridge(acpi_handle handle)
        return 0;
 }
 
-int get_hp_hw_control_from_firmware(struct pci_dev *dev)
+int pciehp_get_hp_hw_control_from_firmware(struct pci_dev *dev)
 {
        acpi_status status;
        acpi_handle chandle, handle = DEVICE_ACPI_HANDLE(&(dev->dev));
@@ -228,7 +228,7 @@ int get_hp_hw_control_from_firmware(struct pci_dev *dev)
        return -1;
 }
 
-void get_hp_params_from_firmware(struct pci_dev *dev,
+void pciehp_get_hp_params_from_firmware(struct pci_dev *dev,
                struct hotplug_params *hpp)
 {
        acpi_status status = AE_NOT_FOUND;
index 6447642f78c5064c87c74471b8ee5c7dd7b7c073..29180dfe8493d39bf877b94a744bc7d91c6cb6dd 100644 (file)
 #include <linux/slab.h>
 #include "pciehp.h"
 
-void get_hp_params_from_firmware(struct pci_dev *dev,
+void pciehp_get_hp_params_from_firmware(struct pci_dev *dev,
                struct hotplug_params *hpp)
 {
        return;
 }
 
-int get_hp_hw_control_from_firmware(struct pci_dev *dev)
+int pciehp_get_hp_hw_control_from_firmware(struct pci_dev *dev)
 {
        return 0;
 }