public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Export acpi_register_irq for modules
@ 2004-01-13 23:38 Bjorn Helgaas
  0 siblings, 0 replies; only message in thread
From: Bjorn Helgaas @ 2004-01-13 23:38 UTC (permalink / raw)
  To: linux-ia64

This is needed if drivers for ACPI devices need interrupts and
are built as a modules.  Patch against 2.6.

--- 1.57/arch/ia64/kernel/acpi.c	Tue Nov 18 03:05:32 2003
+++ edited/arch/ia64/kernel/acpi.c	Mon Jan 12 16:45:00 2004
@@ -32,6 +32,7 @@
  */
 
 #include <linux/config.h>
+#include <linux/module.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
@@ -629,5 +630,6 @@
 			(polarity = ACPI_ACTIVE_HIGH) ? IOSAPIC_POL_HIGH : IOSAPIC_POL_LOW,
 			(trigger = ACPI_EDGE_SENSITIVE) ? IOSAPIC_EDGE : IOSAPIC_LEVEL);
 }
+EXPORT_SYMBOL(acpi_register_irq);
 
 #endif /* CONFIG_ACPI_BOOT */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-13 23:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-13 23:38 [PATCH] Export acpi_register_irq for modules Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox