summaryrefslogtreecommitdiff
path: root/tools/intel_lid.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/intel_lid.c')
-rw-r--r--tools/intel_lid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/intel_lid.c b/tools/intel_lid.c
index 37c6ba5e..2a1d9800 100644
--- a/tools/intel_lid.c
+++ b/tools/intel_lid.c
@@ -117,9 +117,10 @@ out:
int main(int argc, char **argv)
{
+ struct intel_mmio_data mmio_data;
int swf14, acpi_lid;
- intel_mmio_use_pci_bar(intel_get_pci_device());
+ intel_mmio_use_pci_bar(&mmio_data, intel_get_pci_device());
while (1) {
swf14 = INREG(SWF14);