summaryrefslogtreecommitdiff
path: root/tools/intel_backlight.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/intel_backlight.c')
-rw-r--r--tools/intel_backlight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_backlight.c b/tools/intel_backlight.c
index b866ec8e..17deb88d 100644
--- a/tools/intel_backlight.c
+++ b/tools/intel_backlight.c
@@ -50,7 +50,7 @@ int main(int argc, char** argv)
{
uint32_t current, max;
- intel_get_mmio(intel_get_pci_device());
+ intel_mmio_use_pci_bar(intel_get_pci_device());
current = reg_read(BLC_PWM_CPU_CTL) & BACKLIGHT_DUTY_CYCLE_MASK;
max = reg_read(BLC_PWM_PCH_CTL2) >> 16;