Skip to content

Commit 4758fd8

Browse files
bulwahnsuryasaimadhu
authored andcommitted
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: ec9964b ("Platform: OLPC: Move EC-specific functionality out from x86") Suggested-by: Randy Dunlap <[email protected]> Signed-off-by: Lukas Bulwahn <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 3958b9c commit 4758fd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/platform/olpc/olpc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ static struct olpc_ec_driver ec_xo1_driver = {
274274

275275
static struct olpc_ec_driver ec_xo1_5_driver = {
276276
.ec_cmd = olpc_xo1_ec_cmd,
277-
#ifdef CONFIG_OLPC_XO1_5_SCI
277+
#ifdef CONFIG_OLPC_XO15_SCI
278278
/*
279279
* XO-1.5 EC wakeups are available when olpc-xo15-sci driver is
280280
* compiled in

0 commit comments

Comments
 (0)