linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] x86, ACPI: Constify irq_domain_ops
@ 2015-04-27 12:48 Krzysztof Kozlowski
  2015-04-27 12:48 ` [PATCH 2/3] x86, mpparse: " Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2015-04-27 12:48 UTC (permalink / raw)
  To: Rafael J. Wysocki, Len Brown, Pavel Machek, Thomas Gleixner,
	Ingo Molnar, H. Peter Anvin, x86, linux-pm, linux-kernel,
	sfi-devel
  Cc: Krzysztof Kozlowski

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(-)

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-28  7:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-27 12:48 [PATCH 1/3] x86, ACPI: Constify irq_domain_ops Krzysztof Kozlowski
2015-04-27 12:48 ` [PATCH 2/3] x86, mpparse: " Krzysztof Kozlowski
2015-04-27 12:48 ` [PATCH 3/3] x86, irq, SFI: " Krzysztof Kozlowski
2015-04-28  7:22 ` [PATCH 1/3] x86, ACPI: " Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).