If I try to cast with register_chrdev(0, (char*)DEVICE_NAME, &fops); the following error appears:

C style cast illegal, use cast(char*)DEVICE_NAME

Or use DEVICE_NAME.ptr

Reply via email to