summaryrefslogtreecommitdiff
path: root/util/dell-flash-unlock/dell_flash_unlock.c
diff options
context:
space:
mode:
authorNicholas Chin <nic.c3.14@gmail.com>2024-05-01 20:09:50 -0600
committerNicholas Chin <nic.c3.14@gmail.com>2024-05-01 20:09:50 -0600
commit355dffb7089707efd8ebe75b1652cec44a06f317 (patch)
tree0c5880657a122d9cd53a17cecd5f943d67a5118b /util/dell-flash-unlock/dell_flash_unlock.c
parent6fe2482fdf035abf4bfb076801aef314fe70776c (diff)
dell_flash_unlock: Fix ec_set_fdo() signature
Set argument list as void. Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com>
Diffstat (limited to 'util/dell-flash-unlock/dell_flash_unlock.c')
-rw-r--r--util/dell-flash-unlock/dell_flash_unlock.c4
1 files 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 174a1c92..6118b0d4 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