Skip to content
Commit 2c2421a5 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Rajeshkumar Ramasamy
Browse files

hte: tegra: fix 'struct of_device_id' build error

commit 74fe658dc600152185cb0fb5d1b7d05063743fb6 from
https://nv-tegra.nvidia.com/r/3rdparty/canonical/linux-jammy.git

 jetson_36.3

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[] = {

Bug 3961133

Change-Id: I902986f52c5ad36b2199f1e70ece480d642ed357
Fixes: 9a75a7cd ("hte: Add Tegra HTE test driver")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarDipen Patel <dipenp@nvidia.com>
Signed-off-by: default avatarDipen Patel <dipenp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/3rdparty/canonical/linux-jammy/+/3088878


GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: default avatarGautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: default avatarGautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: default avatarsvcacv <svcacv@nvidia.com>
Reviewed-by: default avatarJon Hunter <jonathanh@nvidia.com>
Signed-off-by: default avatarRajeshkumar Ramasamy <rajeshkumar.ramasamy@windriver.com>
parent 28a8533b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment