/************************************************************************ * 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>
