作者aup65797 (有緣人)
看板LinuxDev
標題[問題] linux dm365 driver error
時間Tue Mar 8 17:51:47 2011
static const struct file_operations adc_proc_fops = {
.owner = THIS_MODULE,
.open = adc_proc_open,
.read = seq_read,
.release = single_release,
};
編譯錯誤訊息如下
錯誤:變數 「adc_proc_fops」 有初始值設定但類型不完全
不知道錯在哪裡= ="
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.37.160.77
推 shaopin:file_operations所需要的header檔有include? 03/09 11:59
→ aup65797:問題已解決..makefile忘記include thanks 03/09 12:38