counter-chrdev.h 373 B

1234567891011121314
  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. #include <linux/counter.h>
  9. int counter_chrdev_add(struct counter_device *const counter);
  10. void counter_chrdev_remove(struct counter_device *const counter);
  11. #endif /* _COUNTER_CHRDEV_H_ */