From e66e2b1fb345a1f2dbf22653da3b43af897cfac9 Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Mon, 19 Jun 2023 17:55:30 +0200 Subject: [PATCH] Fix compiler warning --- src/uniwill_keyboard.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/uniwill_keyboard.h b/src/uniwill_keyboard.h index 208be68..fb62732 100644 --- a/src/uniwill_keyboard.h +++ b/src/uniwill_keyboard.h @@ -1151,10 +1151,11 @@ static int uniwill_keyboard_probe(struct platform_device *dev) u32 i; u8 data; int status; + struct uniwill_device_features_t *uw_feats; set_rom_id(); - struct uniwill_device_features_t *uw_feats = uniwill_get_device_features(); + uw_feats = uniwill_get_device_features(); // FIXME Hard set balanced profile until we have implemented a way to // switch it while tuxedo_io is loaded