Skip to contentSkip to conversation

Export acpi_register_irq for modules

PATCH New Bjorn Helgaas 1 participant 1 message Jan 13, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Export acpi_register_irq for modules

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

arch/ia64/kernel/acpi.c +2 -0
@@ -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 */