summaryrefslogtreecommitdiff
path: root/drivers/hte
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-12-15 19:46:19 +0300
committerDipen Patel <dipenp@nvidia.com>2023-04-27 01:44:06 +0300
commit6680c835ada1b34e882d0a32612f7294c62e27e0 (patch)
tree4c5d74642c0e6a845c25110a4e87972ae5184d56 /drivers/hte
parent902dea62b3dda532172c0f4d0410fe595266b22c (diff)
downloadlinux-6680c835ada1b34e882d0a32612f7294c62e27e0.tar.xz
hte: tegra: fix 'struct of_device_id' build error
Without the extra #include, this driver produces a build failure in some configurations. drivers/hte/hte-tegra194-test.c:96:34: error: array type has incomplete element type 'struct of_device_id' 96 | static const struct of_device_id tegra_hte_test_of_match[] = { Fixes: 9a75a7cd03c9 ("hte: Add Tegra HTE test driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Dipen Patel <dipenp@nvidia.com> Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Diffstat (limited to 'drivers/hte')
-rw-r--r--drivers/hte/hte-tegra194-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hte/hte-tegra194-test.c b/drivers/hte/hte-tegra194-test.c
index d79c28a80517..98d1fd6de071 100644
--- a/drivers/hte/hte-tegra194-test.c
+++ b/drivers/hte/hte-tegra194-test.c
@@ -6,6 +6,7 @@
*/
#include <linux/err.h>
+#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/interrupt.h>