From 3a5054c7f759cac541b1ab8b247c5f1ad23ac4fc Mon Sep 17 00:00:00 2001 From: Nicholas Chin Date: Wed, 1 May 2024 20:09:50 -0600 Subject: [PATCH] dell_flash_unlock: Fix ec_set_fdo() signature Set argument list as void. Signed-off-by: Nicholas Chin --- util/dell-flash-unlock/dell_flash_unlock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/dell-flash-unlock/dell_flash_unlock.c b/util/dell-flash-unlock/dell_flash_unlock.c index 174a1c9..6118b0d 100644 --- a/util/dell-flash-unlock/dell_flash_unlock.c +++ b/util/dell-flash-unlock/dell_flash_unlock.c @@ -15,7 +15,7 @@ int get_fdo_status(void); int check_lpc_decode(void); -void ec_set_fdo(); +void ec_set_fdo(void); void write_ec_reg(uint8_t index, uint8_t data); void send_ec_cmd(uint8_t cmd); int wait_ec(void); @@ -141,7 +141,7 @@ check_lpc_decode(void) } void -ec_set_fdo() +ec_set_fdo(void) { /* EC FDO command arguments for reference: * 0 = Query EC FDO status