https://bugzilla.kernel.org/show_bug.cgi?id=15979





--- Comment #27 from Ferry Toth <ft...@telfort.nl>  2010-07-21 21:44:48 ---
I also had some build errors, don't know if related by may be bugs:

  CC      drivers/acpi/battery.o
drivers/acpi/battery.c: In function ‘acpi_battery_add’:
drivers/acpi/battery.c:947: warning: passing argument 1 of
‘async_schedule_domain’ from incompatible pointer type
include/linux/async.h:20: note: expected ‘void (*)(void *, async_cookie_t)’ but
argument is of type ‘void (*)(struct acpi_device *, async_cookie_t)’
drivers/acpi/battery.c: In function ‘acpi_battery_init’:
drivers/acpi/battery.c:1008: warning: ‘return’ with no value, in function
returning non-void

battery.c:
    if (!result) {
line #947:        async_schedule_domain(acpi_battery_update_async, device,
&acpi_battery_domain);

    } else {

and

static int __init acpi_battery_init(void)
{
    if (acpi_disabled)
line #1008:        return;
#ifdef CONFIG_ACPI_PROCFS_POWER
    acpi_battery_dir = acpi_lock_battery_dir();
    if (!acpi_battery_dir)
        return -1;
#endif
    if (acpi_bus_register_driver(&acpi_battery_driver) < 0) {
#ifdef CONFIG_ACPI_PROCFS_POWER
        acpi_unlock_battery_dir(acpi_battery_dir);
#endif
        return -1;
    }
    return 0;
}

async.h:
line #20: extern async_cookie_t async_schedule_domain(async_func_ptr *ptr, void
*data, struct list_head *list);

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to