acpi_thinkpad: fix warning
authorAlexander Polakov <polachok@gmail.com>
Wed, 14 Oct 2009 18:58:20 +0000 (22:58 +0400)
committerAlexander Polakov <polachok@gmail.com>
Wed, 14 Oct 2009 18:58:20 +0000 (22:58 +0400)
sys/dev/acpica5/acpi_thinkpad/acpi_thinkpad.c

index db0d4be..03622fb 100644 (file)
@@ -922,7 +922,8 @@ acpi_ibm_refresh(void *arg)
 {
        struct acpi_ibm_softc   *sc;
        char                    temp_cmd[] = "TMP0";
-       int                     i, data, temp[8], speed;
+       int                     i, data, temp[8];
+       ACPI_INTEGER            speed;
 
        ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);