提交 77455129 编写于 作者: C Casey Bowman 提交者: Mika Westerberg

thunderbolt: Add uaccess dependency to debugfs interface

Some calls in the debugfs interface are made to the linux/uaccess.h header,
but the header is not referenced. So, for x86_64 architectures, this
dependency seems to be pulled in elsewhere, which leads to a successful
compilation. However, on arm/arm64 architectures, it was found to error out
on implicit declarations.

This change fixes the implicit declaration error by adding the
linux/uaccess.h header.

Fixes: 54e41810 ("thunderbolt: Add debugfs interface")
Signed-off-by: NCasey Bowman <casey.g.bowman@intel.com>
Signed-off-by: NMika Westerberg <mika.westerberg@linux.intel.com>
上级 a663e0df
无相关合并请求
......@@ -9,6 +9,7 @@
#include <linux/debugfs.h>
#include <linux/pm_runtime.h>
#include <linux/uaccess.h>
#include "tb.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部