summaryrefslogtreecommitdiff
path: root/drivers/counter/Makefile
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2021-09-29 12:15:59 +0900
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-10-17 10:53:52 +0100
commitb6c50affda5957a3629b149a91c7f6688ffce7f7 (patch)
tree8d6e0890410abbf4acb52f851b62cee7ee541f05 /drivers/counter/Makefile
parente65c26f413718ed2e6d788491adcd8cebc0f44b6 (diff)
downloadlwn-b6c50affda5957a3629b149a91c7f6688ffce7f7.tar.gz
lwn-b6c50affda5957a3629b149a91c7f6688ffce7f7.zip
counter: Add character device interface
This patch introduces a character device interface for the Counter subsystem. Device data is exposed through standard character device read operations. Device data is gathered when a Counter event is pushed by the respective Counter device driver. Configuration is handled via ioctl operations on the respective Counter character device node. Cc: David Lechner <david@lechnology.com> Cc: Gwendal Grignou <gwendal@chromium.org> Cc: Dan Carpenter <dan.carpenter@oracle.com> Cc: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Link: https://lore.kernel.org/r/b8b8c64b4065aedff43699ad1f0e2f8d1419c15b.1632884256.git.vilhelm.gray@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/counter/Makefile')
-rw-r--r--drivers/counter/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/counter/Makefile b/drivers/counter/Makefile
index 1ab7e087fdc2..8fde6c100ebc 100644
--- a/drivers/counter/Makefile
+++ b/drivers/counter/Makefile
@@ -4,7 +4,7 @@
#
obj-$(CONFIG_COUNTER) += counter.o
-counter-y := counter-core.o counter-sysfs.o
+counter-y := counter-core.o counter-sysfs.o counter-chrdev.o
obj-$(CONFIG_104_QUAD_8) += 104-quad-8.o
obj-$(CONFIG_INTERRUPT_CNT) += interrupt-cnt.o