From cef0d4a74a9d8f085bc873c72d50da0d41452a85 Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Mon, 12 Jun 2023 19:05:53 +0200 Subject: [PATCH] Fix variable type --- src/uniwill_keyboard.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/uniwill_keyboard.h b/src/uniwill_keyboard.h index 332acd6..d255a25 100644 --- a/src/uniwill_keyboard.h +++ b/src/uniwill_keyboard.h @@ -122,8 +122,7 @@ EXPORT_SYMBOL(uniwill_write_ec_ram); int uniwill_write_ec_ram_with_retry(u16 address, u8 data, int retries) { - u32 status; - int i; + int status, i; u8 control_data; for (i = 0; i < retries; ++i) {