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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sebastian, Hi Stephen,

Could you please review this? I didn't see this being pushed.

Thanks.
Asmaa

-----Original Message-----
From: Asmaa Mnebhi <asmaa@xxxxxxxxxx> 
Sent: Tuesday, June 21, 2022 8:50 AM
To: sebastian.reichel@xxxxxxxxxxxxx; sre@xxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; sfr@xxxxxxxxxxxxxxxx; linux-next@xxxxxxxxxxxxxxx
Cc: Asmaa Mnebhi <asmaa@xxxxxxxxxx>
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 <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





[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux