riocm_cdev 240 drivers/rapidio/rio_cm.c static struct channel_dev riocm_cdev; riocm_cdev 2067 drivers/rapidio/rio_cm.c cdev_init(&riocm_cdev.cdev, &riocm_cdev_fops); riocm_cdev 2068 drivers/rapidio/rio_cm.c riocm_cdev.cdev.owner = THIS_MODULE; riocm_cdev 2069 drivers/rapidio/rio_cm.c ret = cdev_add(&riocm_cdev.cdev, devno, 1); riocm_cdev 2075 drivers/rapidio/rio_cm.c riocm_cdev.dev = device_create(dev_class, NULL, devno, NULL, DEV_NAME); riocm_cdev 2076 drivers/rapidio/rio_cm.c if (IS_ERR(riocm_cdev.dev)) { riocm_cdev 2077 drivers/rapidio/rio_cm.c cdev_del(&riocm_cdev.cdev); riocm_cdev 2078 drivers/rapidio/rio_cm.c return PTR_ERR(riocm_cdev.dev); riocm_cdev 2369 drivers/rapidio/rio_cm.c device_unregister(riocm_cdev.dev); riocm_cdev 2370 drivers/rapidio/rio_cm.c cdev_del(&(riocm_cdev.cdev));