Searched refs:adf_ctl_drv (Results 1 – 2 of 2) sorted by relevance
43 static struct adf_ctl_drv_info adf_ctl_drv; variable47 device_destroy(&adf_ctl_class, MKDEV(adf_ctl_drv.major, 0)); in adf_chr_drv_destroy()48 cdev_del(&adf_ctl_drv.drv_cdev); in adf_chr_drv_destroy()50 unregister_chrdev_region(MKDEV(adf_ctl_drv.major, 0), 1); in adf_chr_drv_destroy()68 adf_ctl_drv.major = MAJOR(dev_id); in adf_chr_drv_create()69 cdev_init(&adf_ctl_drv.drv_cdev, &adf_ctl_ops); in adf_chr_drv_create()70 if (cdev_add(&adf_ctl_drv.drv_cdev, dev_id, 1)) { in adf_chr_drv_create()76 MKDEV(adf_ctl_drv.major, 0), in adf_chr_drv_create()84 cdev_del(&adf_ctl_drv.drv_cdev); in adf_chr_drv_create()
12 adf_ctl_drv.o \