Skip to content

Commit 096048c

Browse files
YueHaibingMarc Zyngier
authored andcommitted
irqchip/mmp: Make mmp_irq_domain_ops static
Fix sparse warning: drivers/irqchip/irq-mmp.c:182:29: warning: symbol 'mmp_irq_domain_ops' was not declared. Should it be static? Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
1 parent dc3173c commit 096048c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/irq-mmp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ static int mmp_irq_domain_xlate(struct irq_domain *d, struct device_node *node,
176176
return 0;
177177
}
178178

179-
const struct irq_domain_ops mmp_irq_domain_ops = {
179+
static const struct irq_domain_ops mmp_irq_domain_ops = {
180180
.map = mmp_irq_domain_map,
181181
.xlate = mmp_irq_domain_xlate,
182182
};

0 commit comments

Comments
 (0)