Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Counter character device interface
0004  * Copyright (C) 2020 William Breathitt Gray
0005  */
0006 #ifndef _COUNTER_CHRDEV_H_
0007 #define _COUNTER_CHRDEV_H_
0008 
0009 #include <linux/counter.h>
0010 
0011 int counter_chrdev_add(struct counter_device *const counter);
0012 void counter_chrdev_remove(struct counter_device *const counter);
0013 
0014 #endif /* _COUNTER_CHRDEV_H_ */