]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/acpi/bus.c
ACPI: thermal: clean up MODULE_PARM_DESC newlines
[linux-2.6-omap-h63xx.git] / drivers / acpi / bus.c
index e5084ececb6ff7f004326a3fcdf24828c45e2f0a..6b2658c9624245c7de284623058b4312bb96ff0e 100644 (file)
@@ -292,6 +292,10 @@ int acpi_bus_generate_event(struct acpi_device *device, u8 type, int data)
        if (!device)
                return -EINVAL;
 
+       if (acpi_bus_generate_genetlink_event(device, type, data))
+               printk(KERN_WARNING PREFIX
+                       "Failed to generate an ACPI event via genetlink!\n");
+
        /* drop event on the floor if no one's listening */
        if (!event_is_open)
                return 0;