]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - arch/i386/kernel/acpi/boot.c
[ACPI] Merge acpi-2.6.12 branch into 2.6.13-rc3
[linux-2.6.git] / arch / i386 / kernel / acpi / boot.c
index b7808a89d94507fd41abf6c24bd471d5d9099209..55c0fbd689569a506b30eb61eb1cf341f7fb687d 100644 (file)
@@ -484,7 +484,11 @@ int acpi_gsi_to_irq(u32 gsi, unsigned int *irq)
        return 0;
 }
 
-unsigned int acpi_register_gsi(u32 gsi, int edge_level, int active_high_low)
+/*
+ * success: return IRQ number (>=0)
+ * failure: return < 0
+ */
+int acpi_register_gsi(u32 gsi, int edge_level, int active_high_low)
 {
        unsigned int irq;
        unsigned int plat_gsi = gsi;