Home
last modified time | relevance | path

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

/linux-4.19.296/block/
Dbsg.c54 static struct class *bsg_class; variable
495 class_dev = device_create(bsg_class, parent, dev, NULL, "%s", name); in bsg_register_queue()
546 bsg_class = class_create(THIS_MODULE, "bsg"); in bsg_init()
547 if (IS_ERR(bsg_class)) in bsg_init()
548 return PTR_ERR(bsg_class); in bsg_init()
549 bsg_class->devnode = bsg_devnode; in bsg_init()
568 class_destroy(bsg_class); in bsg_init()