Skip to content

Commit 6680c83

Browse files
arndbpateldipen1984-nv
authored andcommitted
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: 9a75a7c ("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>
1 parent 902dea6 commit 6680c83

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/hte/hte-tegra194-test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*/
77

88
#include <linux/err.h>
9+
#include <linux/mod_devicetable.h>
910
#include <linux/module.h>
1011
#include <linux/moduleparam.h>
1112
#include <linux/interrupt.h>

0 commit comments

Comments
 (0)