Home
last modified time | relevance | path

Searched refs:ppp_class (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/drivers/net/ppp/
Dppp_generic.c295 static struct class *ppp_class; variable
1391 ppp_class = class_create(THIS_MODULE, "ppp"); in ppp_init()
1392 if (IS_ERR(ppp_class)) { in ppp_init()
1393 err = PTR_ERR(ppp_class); in ppp_init()
1404 device_create(ppp_class, NULL, MKDEV(PPP_MAJOR, 0), NULL, "ppp"); in ppp_init()
1409 class_destroy(ppp_class); in ppp_init()
3544 device_destroy(ppp_class, MKDEV(PPP_MAJOR, 0)); in ppp_cleanup()
3545 class_destroy(ppp_class); in ppp_cleanup()