summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/quick_dump/chipset.i4
-rwxr-xr-xtools/quick_dump/reg_access.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/quick_dump/chipset.i b/tools/quick_dump/chipset.i
index 0a15d388..69dc8df5 100644
--- a/tools/quick_dump/chipset.i
+++ b/tools/quick_dump/chipset.i
@@ -12,7 +12,7 @@ extern int intel_register_access_init(struct pci_device *pci_dev, int safe);
extern uint32_t intel_register_read(uint32_t reg);
extern uint32_t intel_register_write(uint32_t reg, uint32_t val);
extern void intel_register_access_fini();
-extern int intel_register_access_needs_wake();
+extern int intel_register_access_needs_fakewake();
extern unsigned short pcidev_to_devid(struct pci_device *pci_dev);
extern uint32_t intel_dpio_reg_read(uint32_t reg);
%}
@@ -25,6 +25,6 @@ extern int intel_register_access_init(struct pci_device *pci_dev, int safe);
extern uint32_t intel_register_read(uint32_t reg);
extern uint32_t intel_register_write(uint32_t reg, uint32_t val);
extern void intel_register_access_fini();
-extern int intel_register_access_needs_wake();
+extern int intel_register_access_needs_fakewake();
extern unsigned short pcidev_to_devid(struct pci_device *pci_dev);
extern uint32_t intel_dpio_reg_read(uint32_t reg);
diff --git a/tools/quick_dump/reg_access.py b/tools/quick_dump/reg_access.py
index e2a0a957..113a3cf7 100755
--- a/tools/quick_dump/reg_access.py
+++ b/tools/quick_dump/reg_access.py
@@ -40,7 +40,7 @@ def init():
print("Register access init failed");
return False
- if chipset.intel_register_access_needs_wake():
+ if chipset.intel_register_access_needs_fakewake():
print("Forcing forcewake. Don't expect your system to work after this.")
get_wake()