[問題] linux dm365 driver error

看板LinuxDev作者 (有緣人)時間15年前 (2011/03/08 17:51), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/1
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

03/09 11:59, , 1F
file_operations所需要的header檔有include?
03/09 11:59, 1F

03/09 12:38, , 2F
問題已解決..makefile忘記include thanks
03/09 12:38, 2F
文章代碼(AID): #1DTVms6f (LinuxDev)
文章代碼(AID): #1DTVms6f (LinuxDev)