QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1812|回复: 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, 2024-6-9 09:58 , Processed in 0.137322 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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