[PATCH v1 1/1] linux-next: Fix build failure in pwr-mlxbf.c

From: Asmaa Mnebhi
Date: Tue Jun 21 2022 - 08:56:32 EST


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 <asmaa@xxxxxxxxxx>
---
drivers/power/reset/pwr-mlxbf.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/power/reset/pwr-mlxbf.c b/drivers/power/reset/pwr-mlxbf.c
index c1f9987834a2..1c4904c0e1f5 100644
--- a/drivers/power/reset/pwr-mlxbf.c
+++ b/drivers/power/reset/pwr-mlxbf.c
@@ -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