]> git.itanic.dy.fi Git - linux-stable/commit
hte: tegra: fix 'struct of_device_id' build error
authorArnd Bergmann <arnd@arndb.de>
Thu, 15 Dec 2022 16:46:19 +0000 (17:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:38 +0000 (23:03 +0900)
commita51e150ef99890e73194a7b8faaf1a26fbee3782
tree0f391ad9dd06f466d3c90bca5a24328a0da0509e
parent5790f76dd2047a504f8b2bb6d6efb3cd6bc0ab0c
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 <arnd@arndb.de>
Acked-by: Dipen Patel <dipenp@nvidia.com>
Signed-off-by: Dipen Patel <dipenp@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hte/hte-tegra194-test.c