Searched refs:aoe_class (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/block/aoe/
H A Daoechr.c52 static struct class *aoe_class; variable in typeref:struct:class
295 aoe_class = class_create(THIS_MODULE, "aoe"); aoechr_init()
296 if (IS_ERR(aoe_class)) { aoechr_init()
298 return PTR_ERR(aoe_class); aoechr_init()
300 aoe_class->devnode = aoe_devnode; aoechr_init()
303 device_create(aoe_class, NULL, aoechr_init()
316 device_destroy(aoe_class, MKDEV(AOE_MAJOR, chardevs[i].minor)); aoechr_exit()
317 class_destroy(aoe_class); aoechr_exit()

Completed in 120 milliseconds