Skip to content

Commit 9a4e17b

Browse files
krzktiwai
authored andcommitted
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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20250528194402.567062-2-krzysztof.kozlowski@linaro.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 4919353 commit 9a4e17b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/pci/hda/cs35l41_hda.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1603,7 +1603,7 @@ static const struct regmap_irq cs35l41_reg_irqs[] = {
16031603
CS35L41_REG_IRQ(IRQ1_STATUS1, AMP_SHORT_ERR),
16041604
};
16051605

1606-
static struct regmap_irq_chip cs35l41_regmap_irq_chip = {
1606+
static const struct regmap_irq_chip cs35l41_regmap_irq_chip = {
16071607
.name = "cs35l41 IRQ1 Controller",
16081608
.status_base = CS35L41_IRQ1_STATUS1,
16091609
.mask_base = CS35L41_IRQ1_MASK1,

0 commit comments

Comments
 (0)