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>
此提交包含在:
Krzysztof Kozlowski
2015-04-27 21:54:07 +09:00
提交者 Linus Walleij
父節點 e5b6095376
當前提交 0b354dc433
共有 6 個檔案被更改,包括 6 行新增6 行删除

查看文件

@@ -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,
};