mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Richard <thomas.richard@bootlin.com>
To: Linus Walleij <linus.walleij@linaro.org>,
	 Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	 Bartosz Golaszewski <brgl@bgdev.pl>,
	 Geert Uytterhoeven <geert+renesas@glider.be>,
	Kees Cook <kees@kernel.org>,  Andy Shevchenko <andy@kernel.org>
Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
	 thomas.petazzoni@bootlin.com, DanieleCleri@aaeon.eu,
	GaryWang@aaeon.com.tw,  linux-hardening@vger.kernel.org,
	 Thomas Richard <thomas.richard@bootlin.com>
Subject: [PATCH v4 02/12] pinctrl: remove extern specifier for functions in machine.h
Date: Tue, 29 Apr 2025 16:08:16 +0200	[thread overview]
Message-ID: <20250429-aaeon-up-board-pinctrl-support-v4-2-b3fffc11417d@bootlin.com> (raw)
In-Reply-To: <20250429-aaeon-up-board-pinctrl-support-v4-0-b3fffc11417d@bootlin.com>

Extern is the default specifier for a function, no need to define it.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---
 include/linux/pinctrl/machine.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/linux/pinctrl/machine.h b/include/linux/pinctrl/machine.h
index 673e96df453b..0940fabb154d 100644
--- a/include/linux/pinctrl/machine.h
+++ b/include/linux/pinctrl/machine.h
@@ -153,10 +153,10 @@ struct pinctrl_map;
 
 #ifdef CONFIG_PINCTRL
 
-extern int pinctrl_register_mappings(const struct pinctrl_map *map,
-				     unsigned int num_maps);
-extern void pinctrl_unregister_mappings(const struct pinctrl_map *map);
-extern void pinctrl_provide_dummies(void);
+int pinctrl_register_mappings(const struct pinctrl_map *map,
+			      unsigned int num_maps);
+void pinctrl_unregister_mappings(const struct pinctrl_map *map);
+void pinctrl_provide_dummies(void);
 #else
 
 static inline int pinctrl_register_mappings(const struct pinctrl_map *map,

-- 
2.39.5


  parent reply	other threads:[~2025-04-29 14:08 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-29 14:08 [PATCH v4 00/12] Add pinctrl support for the AAEON UP board FPGA Thomas Richard
2025-04-29 14:08 ` [PATCH v4 01/12] gpiolib: add support to register sparse pin range Thomas Richard
2025-04-29 14:08 ` Thomas Richard [this message]
2025-04-29 19:49   ` [PATCH v4 02/12] pinctrl: remove extern specifier for functions in machine.h Andy Shevchenko
2025-04-30  9:33     ` Thomas Richard
2025-04-29 14:08 ` [PATCH v4 03/12] pinctrl: core: add devm_pinctrl_register_mappings() Thomas Richard
2025-04-29 19:53   ` Andy Shevchenko
2025-04-29 14:08 ` [PATCH v4 04/12] gpio: aggregator: move GPIO forwarder allocation in a dedicated function Thomas Richard
2025-04-29 14:08 ` [PATCH v4 05/12] gpio: aggregator: refactor the code to add GPIO desc in the forwarder Thomas Richard
2025-04-29 20:05   ` Andy Shevchenko
2025-04-29 14:08 ` [PATCH v4 06/12] gpio: aggregator: refactor the forwarder registration part Thomas Richard
2025-04-29 14:08 ` [PATCH v4 07/12] gpio: aggregator: update gpiochip_fwd_setup_delay_line() parameters Thomas Richard
2025-04-29 14:08 ` [PATCH v4 08/12] gpio: aggregator: export symbols of the GPIO forwarder library Thomas Richard
2025-04-29 20:16   ` Andy Shevchenko
2025-04-29 14:08 ` [PATCH v4 09/12] gpio: aggregator: handle runtime registration of gpio_desc in gpiochip_fwd Thomas Richard
2025-04-29 20:23   ` Andy Shevchenko
2025-04-29 14:08 ` [PATCH v4 10/12] gpio: aggregator: add possibility to attach data to the forwarder Thomas Richard
2025-04-29 20:27   ` Andy Shevchenko
2025-04-29 14:08 ` [PATCH v4 11/12] lib/string_choices: Add str_input_output() helper Thomas Richard
2025-04-29 20:26   ` Andy Shevchenko
2025-04-29 14:08 ` [PATCH v4 12/12] pinctrl: Add pin controller driver for AAEON UP boards Thomas Richard
2025-04-29 20:41   ` Andy Shevchenko
2025-04-29 18:43 ` [PATCH v4 00/12] Add pinctrl support for the AAEON UP board FPGA Bartosz Golaszewski
2025-04-29 20:29   ` Andy Shevchenko
2025-04-30  7:49     ` Bartosz Golaszewski

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=20250429-aaeon-up-board-pinctrl-support-v4-2-b3fffc11417d@bootlin.com \
    --to=thomas.richard@bootlin.com \
    --cc=DanieleCleri@aaeon.eu \
    --cc=GaryWang@aaeon.com.tw \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=andy@kernel.org \
    --cc=brgl@bgdev.pl \
    --cc=geert+renesas@glider.be \
    --cc=kees@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-hardening@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thomas.petazzoni@bootlin.com \
    /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

all inboxes | Powered by JetHome®