Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/drivers/counter/counter-chrdev.h
26278 views
1
/* SPDX-License-Identifier: GPL-2.0 */
2
/*
3
* Counter character device interface
4
* Copyright (C) 2020 William Breathitt Gray
5
*/
6
#ifndef _COUNTER_CHRDEV_H_
7
#define _COUNTER_CHRDEV_H_
8
9
#include <linux/counter.h>
10
11
int counter_chrdev_add(struct counter_device *const counter);
12
void counter_chrdev_remove(struct counter_device *const counter);
13
14
#endif /* _COUNTER_CHRDEV_H_ */
15
16