mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
Use conftest to determine if the uevent() function pointer in the bus_type structure has a const dev argument. This fixes the build for Linux kernels prior to Linux v6.3 that include the upstream change that changed the arguments to this function. Bug 4014315 Change-Id: I1553e08c951be9dd27141c273bf91be38dd954a6 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3019964 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>