diff options
author | Len Brown <len.brown@intel.com> | 2007-08-25 01:44:01 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-08-25 01:44:01 -0400 |
commit | 25c87f7f2a4fc3e50a7912b1c78405d454d1c4d9 (patch) | |
tree | c42d40004e9668d83ab03ab7332515ef08683c54 /drivers/acpi/battery.c | |
parent | a4fd4946214fae86610b989c47e5ae762cc96ddb (diff) | |
parent | 3e069ee0c30d6f28b79e409ef2df1ffa427897ae (diff) |
Pull events into release branch
Conflicts:
drivers/acpi/video.c
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/battery.c')
-rw-r--r-- | drivers/acpi/battery.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c index 81651032791b..9b2c0f74f869 100644 --- a/drivers/acpi/battery.c +++ b/drivers/acpi/battery.c | |||
@@ -872,8 +872,11 @@ static void acpi_battery_notify(acpi_handle handle, u32 event, void *data) | |||
872 | case ACPI_NOTIFY_DEVICE_CHECK: | 872 | case ACPI_NOTIFY_DEVICE_CHECK: |
873 | device = battery->device; | 873 | device = battery->device; |
874 | acpi_battery_notify_update(battery); | 874 | acpi_battery_notify_update(battery); |
875 | acpi_bus_generate_event(device, event, | 875 | acpi_bus_generate_proc_event(device, event, |
876 | acpi_battery_present(battery)); | 876 | acpi_battery_present(battery)); |
877 | acpi_bus_generate_netlink_event(device->pnp.device_class, | ||
878 | device->dev.bus_id, event, | ||
879 | acpi_battery_present(battery)); | ||
877 | break; | 880 | break; |
878 | default: | 881 | default: |
879 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, | 882 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, |