error: 'ENOSYS' undeclared (first use in this function)


/************************************************************************
 *     error: 'ENOSYS' undeclared (first use in this function)
 * 說明:
 *     編譯mt7601u驅動的時候遇到的編譯錯誤。
 *
 *                                      2017-9-15 深圳 龍華樟坑村 曾劍鋒
 ***********************************************************************/

一、參考文檔:
    [PATCH] of: include errno.h
        https://lists.gt.net/linux/kernel/1447672

二、解決辦法:
    include/linux/of.h中添加#include <linux/errno.h> 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM