diff options
author | Martin Roth <martinroth@google.com> | 2017-03-24 11:08:32 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-03-26 04:32:05 +0200 |
commit | 5ef5c00704ac902f33f52e8daa4f3167cf1000ba (patch) | |
tree | 5fffcc411abf879de4c10de29023ac3ccb2053e7 /.clang-format | |
parent | f0eda827b82d1989ec860e82aeb1a8b81616b356 (diff) | |
download | coreboot-5ef5c00704ac902f33f52e8daa4f3167cf1000ba.tar.xz |
mb/lenovo/s230u: Fix USBDEBUG check
- Change preprocessor #if to standard C if. This will get optimized
out if the config option is disabled, but lets the compiler check the
contents.
- CONFIG_USBDEBUG is always going to be defined even if it's disabled,
so this check is not going to work as expected.
See the coreboot Kconfig documentation in /Documentation/core/Kconfig.md
Change-Id: Ia63438d9525e79307d9229ad3ffa2962978611d8
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/18974
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions