HI ,
we are implement a chrdev in linux
to register the device, we first use old-style dev file system register_chrdev() to do register
then , in order to let the dev file created automatically, we add devfs_register() after calling register_chrdev()
,with the same MAJOR_NUM and dev_file_name
currently, it works well
But is it proper to use both new style and old style dev file together?
can I just use devfs_register()?
thanks a lot