[PATCH] Export acpi_register_irq for modules

From: Bjorn Helgaas <bjorn.helgaas_at_hp.com>
Date: 2004-01-14 10:38:15
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 */

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Jan 13 18:38:32 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:21 EST