mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Alexander Shiyan <eagle.alexander923@gmail.com>
To: barebox@lists.infradead.org
Cc: Alexander Shiyan <eagle.alexander923@gmail.com>
Subject: [PATCH 5/5] of: Fix of_prepend_machine_compatible() defined but unused warning
Date: Wed,  1 Jun 2022 09:02:26 +0300	[thread overview]
Message-ID: <20220601060226.3756-6-eagle.alexander923@gmail.com> (raw)
In-Reply-To: <20220601060226.3756-1-eagle.alexander923@gmail.com>

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
 include/of.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/of.h b/include/of.h
index 3a8e32f69c..46b96277d5 100644
--- a/include/of.h
+++ b/include/of.h
@@ -835,7 +835,7 @@ static inline int of_autoenable_i2c_by_component(char *path)
 	return -ENODEV;
 }
 
-static int of_prepend_machine_compatible(struct device_node *root,
+static inline int of_prepend_machine_compatible(struct device_node *root,
 					 const char *compat)
 {
 	return -ENODEV;
-- 
2.32.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


  parent reply	other threads:[~2022-06-01  6:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-01  6:02 [PATCH 0/5] Misc fixes Alexander Shiyan
2022-06-01  6:02 ` [PATCH 1/5] ARM: at91sam9n12ek: Use xz compression Alexander Shiyan
2022-06-01  6:02 ` [PATCH 2/5] ARM: boards: Fix unconditional compilation of imx51-babbage directory Alexander Shiyan
2022-06-02  6:47   ` Sascha Hauer
2022-06-02  6:51     ` Ahmad Fatoum
2022-06-01  6:02 ` [PATCH 3/5] drivers: soc: Fix unconditional compilation of imx directory Alexander Shiyan
2022-06-01  6:02 ` [PATCH 4/5] globalvar: Add missing empty prototype for globalvar_set() Alexander Shiyan
2022-06-01  6:02 ` Alexander Shiyan [this message]
2022-06-02  6:54 ` [PATCH 0/5] Misc fixes Sascha Hauer

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=20220601060226.3756-6-eagle.alexander923@gmail.com \
    --to=eagle.alexander923@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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