Commit 9a4e17b5 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Takashi Iwai
Browse files

ALSA: hda: cs35l41: Constify regmap_irq_chip



Static 'struct regmap_irq_chip' is not modified so can be changed to
const for more safety.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250528194402.567062-2-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 4919353c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1603,7 +1603,7 @@ static const struct regmap_irq cs35l41_reg_irqs[] = {
	CS35L41_REG_IRQ(IRQ1_STATUS1, AMP_SHORT_ERR),
};

static struct regmap_irq_chip cs35l41_regmap_irq_chip = {
static const struct regmap_irq_chip cs35l41_regmap_irq_chip = {
	.name = "cs35l41 IRQ1 Controller",
	.status_base = CS35L41_IRQ1_STATUS1,
	.mask_base = CS35L41_IRQ1_MASK1,