diff options
Diffstat (limited to 'src/intel_device.c')
-rw-r--r-- | src/intel_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel_device.c b/src/intel_device.c index 4d08a6eb..8fd78827 100644 --- a/src/intel_device.c +++ b/src/intel_device.c @@ -79,11 +79,11 @@ static int __intel_get_device_id(int fd) return devid; } -int intel_entity_get_devid(int index) +int intel_entity_get_devid(int idx) { struct intel_device *dev; - dev = xf86GetEntityPrivate(index, intel_device_key)->ptr; + dev = xf86GetEntityPrivate(idx, intel_device_key)->ptr; if (dev == NULL) return 0; |