int alloc_chrdev_region(dev_t *dev, unsigned baseminor, unsigned count,; const char *name);. alloc_chrdev_region 函数可用于动态注册一组设备号。
確定! 回上一頁