From: Arnd Bergmann Date: Thu, 15 Dec 2022 16:46:19 +0000 (+0100) Subject: hte: tegra: fix 'struct of_device_id' build error X-Git-Tag: v6.6.17~4938^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6680c835ada1b34e882d0a32612f7294c62e27e0;p=platform%2Fkernel%2Flinux-rpi.git 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 Acked-by: Dipen Patel Signed-off-by: Dipen Patel --- diff --git a/drivers/hte/hte-tegra194-test.c b/drivers/hte/hte-tegra194-test.c index d79c28a..98d1fd6 100644 --- a/drivers/hte/hte-tegra194-test.c +++ b/drivers/hte/hte-tegra194-test.c @@ -6,6 +6,7 @@ */ #include +#include #include #include #include