summaryrefslogtreecommitdiff
path: root/drivers/button/Makefile
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2020-07-24 19:19:45 +0300
committerSimon Glass <sjg@chromium.org>2020-07-29 04:30:39 +0300
commit30d66db78725e8396a3bd255cc51592c6cd7879d (patch)
tree90d70ab789bfb6e85522a989ca9631174bf45a60 /drivers/button/Makefile
parent037a56d6b1e2a2ce45454b2629800ee5e7f6b46e (diff)
downloadu-boot-30d66db78725e8396a3bd255cc51592c6cd7879d.tar.xz
dm: button: add an uclass for button
Add a new uclass for button that implements two functions: - button_get_by_label - button_get_status Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'drivers/button/Makefile')
-rw-r--r--drivers/button/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/button/Makefile b/drivers/button/Makefile
new file mode 100644
index 0000000000..0b4c128cff
--- /dev/null
+++ b/drivers/button/Makefile
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Copyright (C) 2020 Philippe Reynes <philippe.reynes@softathome.com>
+
+obj-$(CONFIG_BUTTON) += button-uclass.o