summaryrefslogtreecommitdiff
path: root/include/efi_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/efi_config.h')
-rw-r--r--include/efi_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/efi_config.h b/include/efi_config.h
index 23211e799fc..bff77a5f961 100644
--- a/include/efi_config.h
+++ b/include/efi_config.h
@@ -24,7 +24,7 @@ typedef efi_status_t (*eficonfig_entry_func)(void *data);
*
* @num: menu entry index
* @title: title of entry
- * @key: unique key
+ * @key: unique key, takes a number up to EFICONFIG_ENTRY_NUM_MAX - 1
* @efi_menu: pointer to the menu structure
* @func: callback function to be called when this entry is selected
* @data: data to be passed to the callback function, caller must free() this pointer
@@ -33,7 +33,7 @@ typedef efi_status_t (*eficonfig_entry_func)(void *data);
struct eficonfig_entry {
u32 num;
char *title;
- char key[3];
+ char key[11];
struct efimenu *efi_menu;
eficonfig_entry_func func;
void *data;