diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/Makefile | 2 | ||||
-rw-r--r-- | drivers/input/tegra-kbc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/Makefile b/drivers/input/Makefile index 24fec9b83e..b1161c5e1b 100644 --- a/drivers/input/Makefile +++ b/drivers/input/Makefile @@ -14,4 +14,4 @@ obj-y += keyboard.o pc_keyb.o obj-$(CONFIG_PS2MULT) += ps2mult.o ps2ser.o endif obj-y += input.o -obj-$(CONFIG_OF_CONTROL) += key_matrix.o +obj-$(CONFIG_$(SPL_)OF_CONTROL) += key_matrix.o diff --git a/drivers/input/tegra-kbc.c b/drivers/input/tegra-kbc.c index 0ef94f7a00..c9c9fac5ad 100644 --- a/drivers/input/tegra-kbc.c +++ b/drivers/input/tegra-kbc.c @@ -295,7 +295,7 @@ static int init_tegra_keyboard(struct stdio_dev *dev) if (config.created) return 0; -#ifdef CONFIG_OF_CONTROL +#if CONFIG_IS_ENABLED(OF_CONTROL) int node; node = fdtdec_next_compatible(gd->fdt_blob, 0, |