gpio: Constify irq_domain_ops
The irq_domain_ops are not modified by the driver and the irqdomain core code accepts pointer to a const data. Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
此提交包含在:
@@ -125,7 +125,7 @@ static int sdv_xlate(struct irq_domain *h, struct device_node *node,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct irq_domain_ops irq_domain_sdv_ops = {
|
||||
static const struct irq_domain_ops irq_domain_sdv_ops = {
|
||||
.xlate = sdv_xlate,
|
||||
};
|
||||
|
||||
|
新增問題並參考
封鎖使用者