1CDEV_DEL(9)                      Char devices                      CDEV_DEL(9)
2
3
4

NAME

6       cdev_del - remove a cdev from the system
7

SYNOPSIS

9       void cdev_del(struct cdev * p);
10

ARGUMENTS

12       p
13           the cdev structure to be removed
14

DESCRIPTION

16       cdev_del removes p from the system, possibly freeing the structure
17       itself.
18

NOTE

20       This guarantees that cdev device will no longer be able to be opened,
21       however any cdevs already open will remain and their fops will still be
22       callable even after cdev_del returns.
23
25Kernel Hackers Manual 3.10         June 2019                       CDEV_DEL(9)
Impressum