summaryrefslogtreecommitdiff
path: root/src/drivers/generic/gpio_keys
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/generic/gpio_keys')
-rw-r--r--src/drivers/generic/gpio_keys/gpio_keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/generic/gpio_keys/gpio_keys.c b/src/drivers/generic/gpio_keys/gpio_keys.c
index b8e72bf328..1017f7a69f 100644
--- a/src/drivers/generic/gpio_keys/gpio_keys.c
+++ b/src/drivers/generic/gpio_keys/gpio_keys.c
@@ -46,7 +46,7 @@ static struct acpi_dp *gpio_keys_add_child_node(
return dsd;
}
-static void gpio_keys_fill_ssdt_generator(struct device *dev)
+static void gpio_keys_fill_ssdt_generator(const struct device *dev)
{
struct drivers_generic_gpio_keys_config *config = dev->chip_info;
const char *scope = acpi_device_scope(dev);