examples/buttons: Switch dependence from ARCH_HAVE_BUTTONS to BUTTONS

application just use BUTTONS ioctl and shouldn't take care the implementation detail

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ia4d615700de1ac17302ab9b6379340fb81e69d86
This commit is contained in:
Xiang Xiao 2020-06-06 02:11:11 +08:00 committed by Abdelatif Guettouche
parent 8e9e49a2f8
commit 3f6343d3e7

View File

@ -6,7 +6,7 @@
config EXAMPLES_BUTTONS
tristate "Buttons driver example"
default n
depends on ARCH_HAVE_BUTTONS
depends on BUTTONS
---help---
Enable the Buttons drivers example