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.1.63~5646 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a51e150ef99890e73194a7b8faaf1a26fbee3782;p=sdk%2Femulator%2Femulator-kernel.git hte: tegra: fix 'struct of_device_id' build error [ Upstream commit 6680c835ada1b34e882d0a32612f7294c62e27e0 ] 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 Signed-off-by: Sasha Levin --- diff --git a/drivers/hte/hte-tegra194-test.c b/drivers/hte/hte-tegra194-test.c index 5d776a185bd6..ce8c44e79221 100644 --- a/drivers/hte/hte-tegra194-test.c +++ b/drivers/hte/hte-tegra194-test.c @@ -6,6 +6,7 @@ */ #include +#include #include #include #include