Skip to content

Commit 7745512

Browse files
cgbowmanwesteri
authored andcommitted
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: 54e4181 ("thunderbolt: Add debugfs interface") Signed-off-by: Casey Bowman <casey.g.bowman@intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
1 parent a663e0d commit 7745512

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/thunderbolt/debugfs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#include <linux/debugfs.h>
1111
#include <linux/pm_runtime.h>
12+
#include <linux/uaccess.h>
1213

1314
#include "tb.h"
1415

0 commit comments

Comments
 (0)