Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ppp/
Dppp_generic.c298 static struct class *ppp_class; variable
1397 ppp_class = class_create("ppp"); in ppp_init()
1398 if (IS_ERR(ppp_class)) { in ppp_init()
1399 err = PTR_ERR(ppp_class); in ppp_init()
1410 device_create(ppp_class, NULL, MKDEV(PPP_MAJOR, 0), NULL, "ppp"); in ppp_init()
1415 class_destroy(ppp_class); in ppp_init()
3552 device_destroy(ppp_class, MKDEV(PPP_MAJOR, 0)); in ppp_cleanup()
3553 class_destroy(ppp_class); in ppp_cleanup()