看板 LinuxDev 關於我們 聯絡資訊
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