Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ppp/
H A Dppp_generic.c310 static struct class *ppp_class; in proto_to_npindex()
1423 ppp_class = class_create("ppp"); in ppp_init()
1424 if (IS_ERR(ppp_class)) { in ppp_init()
1425 err = PTR_ERR(ppp_class); in ppp_init()
1436 device_create(ppp_class, NULL, MKDEV(PPP_MAJOR, 0), NULL, "ppp"); in ppp_init()
1441 class_destroy(ppp_class);
3577 device_destroy(ppp_class, MKDEV(PPP_MAJOR, 0));
3578 class_destroy(ppp_class); in unit_set()
299 static struct class *ppp_class; global() variable