mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 01:50:53 +07:00
pciehp: make pciehp build for powerpc
Make pciehp build on powerpc Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
1cc6daf234
commit
e50d1088bf
@ -279,6 +279,11 @@ struct hpc_ops {
|
|||||||
|
|
||||||
|
|
||||||
#ifdef CONFIG_ACPI
|
#ifdef CONFIG_ACPI
|
||||||
|
#include <acpi/acpi.h>
|
||||||
|
#include <acpi/acpi_bus.h>
|
||||||
|
#include <acpi/actypes.h>
|
||||||
|
#include <linux/pci-acpi.h>
|
||||||
|
|
||||||
#define pciehp_get_hp_hw_control_from_firmware(dev) \
|
#define pciehp_get_hp_hw_control_from_firmware(dev) \
|
||||||
pciehp_acpi_get_hp_hw_control_from_firmware(dev)
|
pciehp_acpi_get_hp_hw_control_from_firmware(dev)
|
||||||
static inline int pciehp_get_hp_params_from_firmware(struct pci_dev *dev,
|
static inline int pciehp_get_hp_params_from_firmware(struct pci_dev *dev,
|
||||||
|
@ -38,10 +38,6 @@
|
|||||||
|
|
||||||
#include "../pci.h"
|
#include "../pci.h"
|
||||||
#include "pciehp.h"
|
#include "pciehp.h"
|
||||||
#include <acpi/acpi.h>
|
|
||||||
#include <acpi/acpi_bus.h>
|
|
||||||
#include <acpi/actypes.h>
|
|
||||||
#include <linux/pci-acpi.h>
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#define DBG_K_TRACE_ENTRY ((unsigned int)0x00000001) /* On function entry */
|
#define DBG_K_TRACE_ENTRY ((unsigned int)0x00000001) /* On function entry */
|
||||||
#define DBG_K_TRACE_EXIT ((unsigned int)0x00000002) /* On function exit */
|
#define DBG_K_TRACE_EXIT ((unsigned int)0x00000002) /* On function exit */
|
||||||
|
Loading…
Reference in New Issue
Block a user