Skip to content
Commit 14f935f9 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Dmitry Torokhov
Browse files

Input: atmel_captouch - add dependence on i2c



The newly added Atmal captouch driver fails to build when CONFIG_I2C
is disabled:

drivers/input/misc/atmel_captouch.c: In function 'atmel_read':
drivers/input/misc/atmel_captouch.c:115:8: error: implicit declaration of function 'i2c_transfer' [-Werror=implicit-function-declaration]

This adds an explicit Kconfig dependency to prevent the broken
configuration.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: b06d43f7

 ("Input: add Atmel Captouch Button driver")
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent b06d43f7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment