mbox series

[0/2] gpio: sifive: Module support

Message ID 20230717205357.2779473-1-samuel.holland@sifive.com (mailing list archive)
Headers show
Series gpio: sifive: Module support | expand

Message

Samuel Holland July 17, 2023, 8:53 p.m. UTC
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(-)