找回密码
 注册
查看: 1592|回复: 1

pci_dev结构中struct file_operatio

[复制链接]
发表于 2006-4-10 11:42:24 | 显示全部楼层 |阅读模式
在scull中,用以下语句来挂钩file—operation结构
dev->cdev.ops=&scull_ops;
在pci驱动中pci_dev中没有struct file_operations 结构
那我要怎么挂钩?
 楼主| 发表于 2006-4-10 22:49:06 | 显示全部楼层
各位大侠帮帮忙
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-11 00:12 , Processed in 0.028574 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表