Searched refs:adf_ctl_drv (Results 1 – 2 of 2) sorted by relevance
40 static struct adf_ctl_drv_info adf_ctl_drv; variable44 device_destroy(adf_ctl_drv.drv_class, MKDEV(adf_ctl_drv.major, 0)); in adf_chr_drv_destroy()45 cdev_del(&adf_ctl_drv.drv_cdev); in adf_chr_drv_destroy()46 class_destroy(adf_ctl_drv.drv_class); in adf_chr_drv_destroy()61 if (IS_ERR(adf_ctl_drv.drv_class)) { in adf_chr_drv_create()65 adf_ctl_drv.major = MAJOR(dev_id); in adf_chr_drv_create()66 cdev_init(&adf_ctl_drv.drv_cdev, &adf_ctl_ops); in adf_chr_drv_create()67 if (cdev_add(&adf_ctl_drv.drv_cdev, dev_id, 1)) { in adf_chr_drv_create()73 MKDEV(adf_ctl_drv.major, 0), in adf_chr_drv_create()81 cdev_del(&adf_ctl_drv.drv_cdev); in adf_chr_drv_create()[all …]
5 adf_ctl_drv.o \