diff options
Diffstat (limited to 'drivers/gpio/gpio-mlxbf2.c')
| -rw-r--r-- | drivers/gpio/gpio-mlxbf2.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-mlxbf2.c b/drivers/gpio/gpio-mlxbf2.c index 94d5efce1721..befa5e109943 100644 --- a/drivers/gpio/gpio-mlxbf2.c +++ b/drivers/gpio/gpio-mlxbf2.c @@ -149,6 +149,8 @@ static int mlxbf2_gpio_lock_acquire(struct mlxbf2_gpio_context *gs)   * Release the YU arm_gpio_lock after changing the direction mode.   */  static void mlxbf2_gpio_lock_release(struct mlxbf2_gpio_context *gs) +	__releases(&gs->gc.bgpio_lock) +	__releases(yu_arm_gpio_lock_param.lock)  {  	writel(YU_ARM_GPIO_LOCK_RELEASE, yu_arm_gpio_lock_param.io);  	spin_unlock(&gs->gc.bgpio_lock); @@ -309,7 +311,7 @@ static int mlxbf2_gpio_resume(struct platform_device *pdev)  }  #endif -static const struct acpi_device_id mlxbf2_gpio_acpi_match[] = { +static const struct acpi_device_id __maybe_unused mlxbf2_gpio_acpi_match[] = {  	{ "MLNXBF22", 0 },  	{},  };  |