lib: Add the declaration of intel_register_access_needs_fakewake()
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 29 Apr 2013 17:57:47 +0000 (18:57 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Wed, 8 May 2013 12:34:35 +0000 (13:34 +0100)
Otherwise gcc complains that the function hasn't been declared.

lib/intel_gpu_tools.h

index 77aac5d..faa948c 100644 (file)
@@ -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);