]> git.baikalelectronics.ru Git - kernel.git/commit
x86/platform/olpc: Correct ifdef symbol to intended CONFIG_OLPC_XO15_SCI
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Tue, 3 Aug 2021 11:35:24 +0000 (13:35 +0200)
committerBorislav Petkov <bp@suse.de>
Wed, 6 Oct 2021 16:46:06 +0000 (18:46 +0200)
commita48a20b929b65b399d03811126f338bee83ed5e8
tree81383b894114913c79bd7c5c62fc973769da8924
parentbb0b6f824744b5aa07fe8fd5a89540bda67ff828
x86/platform/olpc: Correct ifdef symbol to intended CONFIG_OLPC_XO15_SCI

The refactoring in the commit in Fixes introduced an ifdef
CONFIG_OLPC_XO1_5_SCI, however the config symbol is actually called
"CONFIG_OLPC_XO15_SCI".

Fortunately, ./scripts/checkkconfigsymbols.py warns:

OLPC_XO1_5_SCI
Referencing files: arch/x86/platform/olpc/olpc.c

Correct this ifdef condition to the intended config symbol.

Fixes: 4db06897c0d2 ("Platform: OLPC: Move EC-specific functionality out from x86")
Suggested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: <stable@vger.kernel.org>
Link: https://lkml.kernel.org/r/20210803113531.30720-3-lukas.bulwahn@gmail.com
arch/x86/platform/olpc/olpc.c