diff options
| author | Felix Singer <felixsinger@posteo.net> | 2022-08-19 03:03:47 +0200 | 
|---|---|---|
| committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-09-08 02:12:19 +0000 | 
| commit | 05ac08f786cfd3f3f5b00b5dfb0849056d99245a (patch) | |
| tree | f776135fcb2714a10743c66191878d6d1f1b9844 /include | |
| parent | 279add4f3aa4aca2362304aec8f53df074dfe098 (diff) | |
| download | flashrom-05ac08f786cfd3f3f5b00b5dfb0849056d99245a.tar.gz flashrom-05ac08f786cfd3f3f5b00b5dfb0849056d99245a.tar.bz2 flashrom-05ac08f786cfd3f3f5b00b5dfb0849056d99245a.zip | |
tree: Retype variable `laptop_ok` with bool
Use the bool type instead of an integer for the variable `laptop_ok`,
since this represents its purpose much better.
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Change-Id: I5d9fc3516bc2d29f11b056e35b3e5e324ce93423
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66891
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/programmer.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/include/programmer.h b/include/programmer.h index abb7cfd6..a7cea5e7 100644 --- a/include/programmer.h +++ b/include/programmer.h @@ -265,7 +265,7 @@ extern int superio_count;  #if CONFIG_INTERNAL == 1  extern int is_laptop; -extern int laptop_ok; +extern bool laptop_ok;  extern bool force_boardenable;  extern bool force_boardmismatch;  void probe_superio(void); | 
