summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2024-03-04 20:00:04 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2024-03-05 16:28:06 +0100
commit0fe55b4c7fd473aecca3a7c7c4120231ef6c35f7 (patch)
tree535f31a6b5dc49618790a536f514c4104a3918a1
parent9ba434fc6e95cbf87e0e3b6db980585f655aa8b3 (diff)
downloadbarebox-0fe55b4c7fd4.tar.gz
barebox-0fe55b4c7fd4.tar.xz
efi: stdio: fix efi_register_keystroke_notify prototype
The keydata passed to efi_register_keystroke_notify is passed by reference, not by value, according to spec. This introduced no functional change as we don't yet use the prototype. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20240304190038.3486881-80-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--include/efi/efi-stdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi/efi-stdio.h b/include/efi/efi-stdio.h
index 0b3a184a78..55ceb47d1b 100644
--- a/include/efi/efi-stdio.h
+++ b/include/efi/efi-stdio.h
@@ -42,7 +42,7 @@ typedef efi_status_t (EFIAPI *efi_key_notify_function)(
typedef efi_status_t (EFIAPI *efi_register_keystroke_notify)(
struct efi_simple_text_input_ex_protocol *this,
- struct efi_key_data keydata,
+ struct efi_key_data *keydata,
efi_key_notify_function key_notification_function,
void **notify_handle
);