summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/acpi/ec_sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/acpi/ec_sys.c')
-rw-r--r--kernel/drivers/acpi/ec_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/acpi/ec_sys.c b/kernel/drivers/acpi/ec_sys.c
index b4c216bab..bea8e425a 100644
--- a/kernel/drivers/acpi/ec_sys.c
+++ b/kernel/drivers/acpi/ec_sys.c
@@ -128,7 +128,7 @@ static int acpi_ec_add_debugfs(struct acpi_ec *ec, unsigned int ec_device_count)
if (!debugfs_create_x32("gpe", 0444, dev_dir, (u32 *)&first_ec->gpe))
goto error;
if (!debugfs_create_bool("use_global_lock", 0444, dev_dir,
- (u32 *)&first_ec->global_lock))
+ &first_ec->global_lock))
goto error;
if (write_support)