public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Asmaa Mnebhi <asmaa@nvidia•com>
To: sebastian.reichel@collabora•com, sre@kernel•org,
	linux-kernel@vger•kernel.org, sfr@canb•auug.org.au,
	linux-next@vger•kernel.org
Cc: Asmaa Mnebhi <asmaa@nvidia•com>
Subject: [PATCH v1 1/1] linux-next: Fix build failure in pwr-mlxbf.c
Date: Tue, 21 Jun 2022 08:49:30 -0400	[thread overview]
Message-ID: <20220621124930.23758-1-asmaa@nvidia.com> (raw)

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@nvidia•com>
---
 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


             reply	other threads:[~2022-06-21 12:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-21 12:49 Asmaa Mnebhi [this message]
2022-07-26 19:10 ` [PATCH v1 1/1] linux-next: Fix build failure in pwr-mlxbf.c Asmaa Mnebhi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220621124930.23758-1-asmaa@nvidia.com \
    --to=asmaa@nvidia$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=sebastian.reichel@collabora$(echo .)com \
    --cc=sfr@canb$(echo .)auug.org.au \
    --cc=sre@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox