Browse Source

[ACPI] fix build warning

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Andrew Morton 20 years ago
parent
commit
83ea744522
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/acpi/ec.c

+ 1 - 1
drivers/acpi/ec.c

@@ -638,7 +638,7 @@ next_byte:
 		if (function == ACPI_WRITE)
 			temp >>= 8;
 		i++;
-		(u8)address ++;
+		address++;
 		goto next_byte;
 	}