Otherwise gcc complains that the function hasn't been declared. --- lib/intel_gpu_tools.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/intel_gpu_tools.h b/lib/intel_gpu_tools.h index 77aac5d..faa948c 100644 --- a/lib/intel_gpu_tools.h +++ b/lib/intel_gpu_tools.h @@ -45,6 +45,8 @@ int intel_register_access_init(struct pci_device *pci_dev, int safe); void intel_register_access_fini(void); uint32_t intel_register_read(uint32_t reg); void intel_register_write(uint32_t reg, uint32_t val); +int intel_register_access_needs_fakewake(void); + /* Following functions are relevant only for SoCs like Valleyview */ uint32_t intel_dpio_reg_read(uint32_t reg); void intel_dpio_reg_write(uint32_t reg, uint32_t val); -- 1.8.1.4