devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] gpio: sifive: Module support
@ 2023-07-17 20:53 Samuel Holland
  2023-07-17 20:53 ` [PATCH 1/2] of/irq: Export of_irq_count() Samuel Holland
  2023-07-17 22:18 ` [PATCH 0/2] gpio: sifive: Module support Palmer Dabbelt
  0 siblings, 2 replies; 5+ messages in thread
From: Samuel Holland @ 2023-07-17 20:53 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Andy Shevchenko, Rob Herring,
	Frank Rowand
  Cc: Samuel Holland, Palmer Dabbelt, Paul Walmsley, devicetree,
	linux-gpio, linux-kernel, linux-riscv

With of_irq_count() exported, the SiFive GPIO driver can be built as a
module. This helps to minimize the size of a multiplatform kernel, and
is required by some downstream distributions (Android GKI).


Samuel Holland (2):
  of/irq: Export of_irq_count()
  gpio: sifive: Allow building the driver as a module

 drivers/gpio/Kconfig       | 2 +-
 drivers/gpio/gpio-sifive.c | 4 +++-
 drivers/of/irq.c           | 1 +
 3 files changed, 5 insertions(+), 2 deletions(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-07-18 22:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-17 20:53 [PATCH 0/2] gpio: sifive: Module support Samuel Holland
2023-07-17 20:53 ` [PATCH 1/2] of/irq: Export of_irq_count() Samuel Holland
2023-07-17 21:40   ` Andy Shevchenko
2023-07-18 22:42     ` Rob Herring
2023-07-17 22:18 ` [PATCH 0/2] gpio: sifive: Module support Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).