summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/think-lmi.h
diff options
context:
space:
mode:
authorMark Pearson <markpearson@lenovo.com>2021-08-16 20:15:01 -0400
committerHans de Goede <hdegoede@redhat.com>2021-08-18 09:41:14 +0200
commitf5bc0157be9baf1e2f12fb53f1e392b955e1c57f (patch)
tree802929c67158da1e7195e49653cf9de7c6621cef /drivers/platform/x86/think-lmi.h
parent45b6f75eab6aabf9d88933830f41f532d39f38d2 (diff)
downloadlinux-f5bc0157be9baf1e2f12fb53f1e392b955e1c57f.tar.bz2
platform/x86: think-lmi: add debug_cmd
Many Lenovo BIOS's support the ability to send a debug command which is useful for debugging and testing unreleased or early features. Adding support for this feature as a module parameter. Signed-off-by: Mark Pearson <markpearson@lenovo.com> Link: https://lore.kernel.org/r/20210817001501.293501-1-markpearson@lenovo.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/think-lmi.h')
-rw-r--r--drivers/platform/x86/think-lmi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/think-lmi.h b/drivers/platform/x86/think-lmi.h
index eb598846628a..f8e26823075f 100644
--- a/drivers/platform/x86/think-lmi.h
+++ b/drivers/platform/x86/think-lmi.h
@@ -61,6 +61,7 @@ struct think_lmi {
bool can_set_bios_password;
bool can_get_password_settings;
bool pending_changes;
+ bool can_debug_cmd;
struct tlmi_attr_setting *setting[TLMI_SETTINGS_COUNT];
struct device *class_dev;