linux-next: Fix build failure in pwr-mlxbf.c
Subsystems (2)
PATCH 1/1 linux-next: Fix build failure in pwr-mlxbf.c
The build failure is at line 67: implicit declaration of function 'devm_work_autocancel'.
So declare library for devm_work_autocancel.
Signed-off-by Asmaa Mnebhi <[email protected]>
--- drivers/power/reset/pwr-mlxbf.c | 1 + 1 file changed, 1 insertion(+)
drivers/power/reset/pwr-mlxbf.c +1 -0
@@ -6,6 +6,7 @@#include <linux/acpi.h> #include <linux/device.h> +#include <linux/devm-helpers.h> #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/mod_devicetable.h>
Signature · 1 line
2.30.1
Hi Sebastian, Hi Stephen,
Could you please review this? I didn't see this being pushed.
Thanks.
Asmaa
-----Original Message-----
From: Asmaa Mnebhi <[email protected]>
Sent: Tuesday, June 21, 2022 8:50 AM
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: Asmaa Mnebhi <[email protected]>
Subject: [PATCH v1 1/1] linux-next: Fix build failure in pwr-mlxbf.c
The build failure is at line 67: implicit declaration of function 'devm_work_autocancel'. So declare library for devm_work_autocancel.
Signed-off-by Asmaa Mnebhi <[email protected]>
--- drivers/power/reset/pwr-mlxbf.c | 1 + 1 file changed, 1 insertion(+)
drivers/power/reset/pwr-mlxbf.c +1 -0
@@ -6,6 +6,7 @@#include <linux/acpi.h> #include <linux/device.h> +#include <linux/devm-helpers.h> #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/mod_devicetable.h>
--
2.30.1