[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230918193042.31524-1-rdunlap@infradead.org>
Date: Mon, 18 Sep 2023 12:30:42 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: linux-kernel@...r.kernel.org
Cc: Randy Dunlap <rdunlap@...radead.org>,
Charles Keepax <ckeepax@...nsource.cirrus.com>,
James Schulman <james.schulman@...rus.com>,
David Rhodes <david.rhodes@...rus.com>,
Richard Fitzgerald <rf@...nsource.cirrus.com>,
alsa-devel@...a-project.org, patches@...nsource.cirrus.com,
Lee Jones <lee@...nel.org>
Subject: [PATCH] mfd: cs42l43: add REGMAP_IRQ requirement
The cs42l43 core uses devm_regmap_add_irq_chip(), so add REGMAP_IRQ
to what the core driver selects in order to provide this API.
This fixes a build error:
aarch64-linux-ld: drivers/mfd/cs42l43.o: in function `cs42l43_boot_work':
cs42l43.c:(.text+0x19d4): undefined reference to `devm_regmap_add_irq_chip'
Fixes: ace6d1448138 ("mfd: cs42l43: Add support for cs42l43 core driver")
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Charles Keepax <ckeepax@...nsource.cirrus.com>
Cc: James Schulman <james.schulman@...rus.com>
Cc: David Rhodes <david.rhodes@...rus.com>
Cc: Richard Fitzgerald <rf@...nsource.cirrus.com>
Cc: alsa-devel@...a-project.org
Cc: patches@...nsource.cirrus.com
Cc: Lee Jones <lee@...nel.org>
---
drivers/mfd/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff -- a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -241,6 +241,7 @@ config MFD_CS42L43
tristate
select MFD_CORE
select REGMAP
+ select REGMAP_IRQ
config MFD_CS42L43_I2C
tristate "Cirrus Logic CS42L43 (I2C)"
Powered by blists - more mailing lists