summaryrefslogtreecommitdiffstats
path: root/drivers/counter/counter-sysfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/counter/counter-sysfs.h')
-rw-r--r--drivers/counter/counter-sysfs.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/counter/counter-sysfs.h b/drivers/counter/counter-sysfs.h
new file mode 100644
index 0000000000..14fe566aca
--- /dev/null
+++ b/drivers/counter/counter-sysfs.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Counter sysfs interface
+ * Copyright (C) 2020 William Breathitt Gray
+ */
+#ifndef _COUNTER_SYSFS_H_
+#define _COUNTER_SYSFS_H_
+
+#include <linux/counter.h>
+
+int counter_sysfs_add(struct counter_device *const counter);
+
+#endif /* _COUNTER_SYSFS_H_ */