How we can access our sucll_dev structure of specific device by a proc file system or in its function like read proc ()……….??????/
How we can access our sucll_dev structure of specific device by a proc file system or in its function like read proc ()……….??????/
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
for a perticular device’s scull_dev you should call it inside open function
struct proc_dir_entry {
struct inode_operations * proc_iops;
struct file_operations * proc_fops;
};