• K
    [PATCH] PCI Hotplug: add common acpi functions to core · 783c49fc
    Kristen Accardi 提交于
    shpchprm_acpi.c and pciehprm_acpi.c are nearly identical.  In addition,
    there are functions in both these files that are also in acpiphp_glue.c.
    This patch will remove duplicate functions from shpchp, pciehp, and
    acpiphp and move this functionality to pci_hotplug, as it is not
    hardware specific.  Get rid of shpchprm* and pciehprm* files since they
    are no longer needed.  shpchprm_nonacpi.c and pciehprm_nonacpi.c are
    identical, as well as shpchprm_legacy.c and can be replaced with a
    macro.
    
    This patch also changes acpiphp to use the common hpp code.
    Signed-off-by: NKristen Carlson Accardi <kristen.c.accardi@intel.com>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    783c49fc
acpiphp_glue.c 36.1 KB