Message ID | 1430138889-3310-1-git-send-email-k.kozlowski.k@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Mon 2015-04-27 21:48:07, Krzysztof Kozlowski wrote: > 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> Acked-by: Pavel Machek <pavel@ucw.cz>
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index dbe76a14c3c9..1de4071c7eca 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c @@ -439,7 +439,7 @@ static void mp_unregister_gsi(u32 gsi) mp_unmap_irq(irq); } -static struct irq_domain_ops acpi_irqdomain_ops = { +static const struct irq_domain_ops acpi_irqdomain_ops = { .map = mp_irqdomain_map, .unmap = mp_irqdomain_unmap, };
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> --- arch/x86/kernel/acpi/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)