The patch titled LIS3LV02D: Conform to the new ACPI API has been added to the -mm tree. Its filename is lis3lv02dx-accelerometer-driver-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: LIS3LV02D: Conform to the new ACPI API From: Eric Piel <eric.piel@xxxxxxxxxxxxxxxx> ACPI API has been updated to allow 64bit return values in acpi_evaluate_integer(). Update also the lis3lv02d driver so that it works with 2.6.28-rc1. Signed-off-by: Eric Piel <eric.piel@xxxxxxxxxxxxxxxx> Cc: Yan Burman <burman.yan@xxxxxxxxx> Cc: Pavel Machek <pavel@xxxxxxx> Cc: "Mark M. Hoffman" <mhoffman@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/hwmon/lis3lv02d.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/hwmon/lis3lv02d.c~lis3lv02dx-accelerometer-driver-fix drivers/hwmon/lis3lv02d.c --- a/drivers/hwmon/lis3lv02d.c~lis3lv02dx-accelerometer-driver-fix +++ a/drivers/hwmon/lis3lv02d.c @@ -112,7 +112,7 @@ static acpi_status lis3lv02d_acpi_read(a { union acpi_object arg0 = { ACPI_TYPE_INTEGER }; struct acpi_object_list args = { 1, &arg0 }; - unsigned long lret; + unsigned long long lret; acpi_status status; arg0.integer.value = reg; @@ -132,7 +132,7 @@ static acpi_status lis3lv02d_acpi_read(a */ static acpi_status lis3lv02d_acpi_write(acpi_handle handle, int reg, u8 val) { - unsigned long ret; /* Not used when writting */ + unsigned long long ret; /* Not used when writting */ union acpi_object in_obj[2]; struct acpi_object_list args = { 2, in_obj }; _ Patches currently in -mm which might be from eric.piel@xxxxxxxxxxxxxxxx are leds-driver-for-hp-harddisk-protection-led-fix-fix-2.patch lis3lv02dx-accelerometer-driver.patch lis3lv02dx-accelerometer-driver-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html