mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
drivers: Drop inline from driver remove wrapper
The driver remove function is a function pointer and therefore, it does not make sense to define the function as an 'inline'. Update the coccinelle script and drivers to remove the inline statement. Bug 4749580 Change-Id: Ia03691b75c4edffe609f27468b911a92a5ddbd68 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3233980 (cherry picked from commit 2c3a31c9b72785ee35ad079422b624f59a35f622) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3276870 Reviewed-by: Brad Griffis <bgriffis@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
66afcf9c40
commit
74c0a6d16d
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -805,12 +805,12 @@ MODULE_DEVICE_TABLE(of, tegra_hv_vblk_oops_match);
|
|||||||
#endif /* CONFIG_OF */
|
#endif /* CONFIG_OF */
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_hv_vblk_oops_remove_wrapper(struct platform_device *pdev)
|
static void tegra_hv_vblk_oops_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_hv_vblk_oops_remove(pdev);
|
tegra_hv_vblk_oops_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_hv_vblk_oops_remove_wrapper(struct platform_device *pdev)
|
static int tegra_hv_vblk_oops_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_hv_vblk_oops_remove(pdev);
|
return tegra_hv_vblk_oops_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -1564,12 +1564,12 @@ MODULE_DEVICE_TABLE(of, tegra_hv_vblk_match);
|
|||||||
#endif /* CONFIG_OF */
|
#endif /* CONFIG_OF */
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_hv_vblk_remove_wrapper(struct platform_device *pdev)
|
static void tegra_hv_vblk_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_hv_vblk_remove(pdev);
|
tegra_hv_vblk_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_hv_vblk_remove_wrapper(struct platform_device *pdev)
|
static int tegra_hv_vblk_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_hv_vblk_remove(pdev);
|
return tegra_hv_vblk_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -229,12 +229,12 @@ static const struct of_device_id tegra_auto_cpuidle_of[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_auto_cpuidle_remove_wrapper(struct platform_device *pdev)
|
static void tegra_auto_cpuidle_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_auto_cpuidle_remove(pdev);
|
tegra_auto_cpuidle_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_auto_cpuidle_remove_wrapper(struct platform_device *pdev)
|
static int tegra_auto_cpuidle_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_auto_cpuidle_remove(pdev);
|
return tegra_auto_cpuidle_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
// SPDX-FileCopyrightText: Copyright (c) 2019-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2019-2024, NVIDIA Corporation. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Cryptographic API.
|
* Cryptographic API.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -5212,12 +5211,12 @@ static const struct dev_pm_ops tegra_hv_pm_ops = {
|
|||||||
#endif /* CONFIG_PM */
|
#endif /* CONFIG_PM */
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_hv_vse_safety_remove_wrapper(struct platform_device *pdev)
|
static void tegra_hv_vse_safety_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_hv_vse_safety_remove(pdev);
|
tegra_hv_vse_safety_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_hv_vse_safety_remove_wrapper(struct platform_device *pdev)
|
static int tegra_hv_vse_safety_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_hv_vse_safety_remove(pdev);
|
return tegra_hv_vse_safety_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2020-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2020-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*
|
*
|
||||||
* Support for Tegra NVRNG Engine Error Handling.
|
* Support for Tegra NVRNG Engine Error Handling.
|
||||||
*/
|
*/
|
||||||
@@ -360,12 +360,12 @@ static const struct of_device_id tegra_se_nvrng_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, tegra_se_nvrng_of_match);
|
MODULE_DEVICE_TABLE(of, tegra_se_nvrng_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_se_nvrng_remove_wrapper(struct platform_device *pdev)
|
static void tegra_se_nvrng_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_se_nvrng_remove(pdev);
|
tegra_se_nvrng_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_se_nvrng_remove_wrapper(struct platform_device *pdev)
|
static int tegra_se_nvrng_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_se_nvrng_remove(pdev);
|
return tegra_se_nvrng_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
/*
|
/*
|
||||||
* Crypto driver for NVIDIA Security Engine in Tegra Chips
|
* Crypto driver for NVIDIA Security Engine in Tegra Chips
|
||||||
*/
|
*/
|
||||||
@@ -389,12 +389,12 @@ static const struct of_device_id tegra_se_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, tegra_se_of_match);
|
MODULE_DEVICE_TABLE(of, tegra_se_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_se_remove_wrapper(struct platform_device *pdev)
|
static void tegra_se_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_se_remove(pdev);
|
tegra_se_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_se_remove_wrapper(struct platform_device *pdev)
|
static int tegra_se_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_se_remove(pdev);
|
return tegra_se_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2012 Avionic Design GmbH
|
* Copyright (C) 2012 Avionic Design GmbH
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2012-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2012-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -3296,12 +3296,12 @@ static int tegra_dc_remove(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_dc_remove_wrapper(struct platform_device *pdev)
|
static void tegra_dc_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_dc_remove(pdev);
|
tegra_dc_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_dc_remove_wrapper(struct platform_device *pdev)
|
static int tegra_dc_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_dc_remove(pdev);
|
return tegra_dc_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -709,12 +709,12 @@ static const struct of_device_id tegra_dpaux_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, tegra_dpaux_of_match);
|
MODULE_DEVICE_TABLE(of, tegra_dpaux_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_dpaux_remove_wrapper(struct platform_device *pdev)
|
static void tegra_dpaux_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_dpaux_remove(pdev);
|
tegra_dpaux_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_dpaux_remove_wrapper(struct platform_device *pdev)
|
static int tegra_dpaux_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_dpaux_remove(pdev);
|
return tegra_dpaux_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -1693,12 +1693,12 @@ static const struct of_device_id tegra_dsi_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, tegra_dsi_of_match);
|
MODULE_DEVICE_TABLE(of, tegra_dsi_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_dsi_remove_wrapper(struct platform_device *pdev)
|
static void tegra_dsi_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_dsi_remove(pdev);
|
tegra_dsi_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_dsi_remove_wrapper(struct platform_device *pdev)
|
static int tegra_dsi_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_dsi_remove(pdev);
|
return tegra_dsi_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2012-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2012-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -395,12 +395,12 @@ static const struct dev_pm_ops tegra_gr2d_pm = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void gr2d_remove_wrapper(struct platform_device *pdev)
|
static void gr2d_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
gr2d_remove(pdev);
|
gr2d_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int gr2d_remove_wrapper(struct platform_device *pdev)
|
static int gr2d_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return gr2d_remove(pdev);
|
return gr2d_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2013 Avionic Design GmbH
|
* Copyright (C) 2013 Avionic Design GmbH
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -634,12 +634,12 @@ static const struct dev_pm_ops tegra_gr3d_pm = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void gr3d_remove_wrapper(struct platform_device *pdev)
|
static void gr3d_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
gr3d_remove(pdev);
|
gr3d_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int gr3d_remove_wrapper(struct platform_device *pdev)
|
static int gr3d_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return gr3d_remove(pdev);
|
return gr3d_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2012 Avionic Design GmbH
|
* Copyright (C) 2012 Avionic Design GmbH
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2012-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2012-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -1910,12 +1910,12 @@ static int tegra_hdmi_remove(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_hdmi_remove_wrapper(struct platform_device *pdev)
|
static void tegra_hdmi_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_hdmi_remove(pdev);
|
tegra_hdmi_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_hdmi_remove_wrapper(struct platform_device *pdev)
|
static int tegra_hdmi_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_hdmi_remove(pdev);
|
return tegra_hdmi_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2017-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2017-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -1218,12 +1218,12 @@ static const struct of_device_id tegra_display_hub_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, tegra_display_hub_of_match);
|
MODULE_DEVICE_TABLE(of, tegra_display_hub_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_display_hub_remove_wrapper(struct platform_device *pdev)
|
static void tegra_display_hub_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_display_hub_remove(pdev);
|
tegra_display_hub_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_display_hub_remove_wrapper(struct platform_device *pdev)
|
static int tegra_display_hub_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_display_hub_remove(pdev);
|
return tegra_display_hub_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2015-2024, NVIDIA CORPORATION & AFFILIATES. All Rights Reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -967,12 +967,12 @@ static const struct dev_pm_ops nvdec_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void nvdec_remove_wrapper(struct platform_device *pdev)
|
static void nvdec_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
nvdec_remove(pdev);
|
nvdec_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int nvdec_remove_wrapper(struct platform_device *pdev)
|
static int nvdec_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return nvdec_remove(pdev);
|
return nvdec_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2021-2024, NVIDIA CORPORATION & AFFILIATES. All Rights Reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -760,12 +760,12 @@ static const struct dev_pm_ops nvenc_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void nvenc_remove_wrapper(struct platform_device *pdev)
|
static void nvenc_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
nvenc_remove(pdev);
|
nvenc_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int nvenc_remove_wrapper(struct platform_device *pdev)
|
static int nvenc_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return nvenc_remove(pdev);
|
return nvenc_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2021-2024, NVIDIA CORPORATION & AFFILIATES. All Rights Reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -737,12 +737,12 @@ static const struct dev_pm_ops nvjpg_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void nvjpg_remove_wrapper(struct platform_device *pdev)
|
static void nvjpg_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
nvjpg_remove(pdev);
|
nvjpg_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int nvjpg_remove_wrapper(struct platform_device *pdev)
|
static int nvjpg_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return nvjpg_remove(pdev);
|
return nvjpg_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2021-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -635,12 +635,12 @@ static const struct dev_pm_ops ofa_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void ofa_remove_wrapper(struct platform_device *pdev)
|
static void ofa_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
ofa_remove(pdev);
|
ofa_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int ofa_remove_wrapper(struct platform_device *pdev)
|
static int ofa_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return ofa_remove(pdev);
|
return ofa_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -4083,12 +4083,12 @@ static const struct dev_pm_ops tegra_sor_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_sor_remove_wrapper(struct platform_device *pdev)
|
static void tegra_sor_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_sor_remove(pdev);
|
tegra_sor_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_sor_remove_wrapper(struct platform_device *pdev)
|
static int tegra_sor_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_sor_remove(pdev);
|
return tegra_sor_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (C) 2015-2024 NVIDIA CORPORATION. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -834,12 +834,12 @@ static const struct dev_pm_ops vic_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void vic_remove_wrapper(struct platform_device *pdev)
|
static void vic_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
vic_remove(pdev);
|
vic_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int vic_remove_wrapper(struct platform_device *pdev)
|
static int vic_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return vic_remove(pdev);
|
return vic_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All Rights Reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -564,12 +564,12 @@ static const struct dev_pm_ops virt_engine_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void virt_engine_remove_wrapper(struct platform_device *pdev)
|
static void virt_engine_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
virt_engine_remove(pdev);
|
virt_engine_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int virt_engine_remove_wrapper(struct platform_device *pdev)
|
static int virt_engine_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return virt_engine_remove(pdev);
|
return virt_engine_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
* Tegra host1x driver
|
* Tegra host1x driver
|
||||||
*
|
*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2010-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2010-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -1103,12 +1103,12 @@ static const struct dev_pm_ops host1x_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void host1x_remove_wrapper(struct platform_device *pdev)
|
static void host1x_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
host1x_remove(pdev);
|
host1x_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int host1x_remove_wrapper(struct platform_device *pdev)
|
static int host1x_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return host1x_remove(pdev);
|
return host1x_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2013-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2013-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||||
* documentation for any purpose is hereby granted without fee, provided that
|
* documentation for any purpose is hereby granted without fee, provided that
|
||||||
@@ -549,12 +549,12 @@ static int tegra_mipi_remove(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_mipi_remove_wrapper(struct platform_device *pdev)
|
static void tegra_mipi_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_mipi_remove(pdev);
|
tegra_mipi_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_mipi_remove_wrapper(struct platform_device *pdev)
|
static int tegra_mipi_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_mipi_remove(pdev);
|
return tegra_mipi_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All Rights Reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -1124,12 +1124,12 @@ MODULE_DEVICE_TABLE(of, cam_fsync_of_match);
|
|||||||
static SIMPLE_DEV_PM_OPS(cam_fsync_pm, cam_fsync_suspend, cam_fsync_resume);
|
static SIMPLE_DEV_PM_OPS(cam_fsync_pm, cam_fsync_suspend, cam_fsync_resume);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void cam_fsync_remove_wrapper(struct platform_device *pdev)
|
static void cam_fsync_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
cam_fsync_remove(pdev);
|
cam_fsync_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int cam_fsync_remove_wrapper(struct platform_device *pdev)
|
static int cam_fsync_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return cam_fsync_remove(pdev);
|
return cam_fsync_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2017-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2017-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file drivers/media/platform/tegra/camera/fusa-capture/capture-vi.c
|
* @file drivers/media/platform/tegra/camera/fusa-capture/capture-vi.c
|
||||||
@@ -1717,12 +1717,12 @@ static const struct of_device_id capture_vi_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, capture_vi_of_match);
|
MODULE_DEVICE_TABLE(of, capture_vi_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void capture_vi_remove_wrapper(struct platform_device *pdev)
|
static void capture_vi_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
capture_vi_remove(pdev);
|
capture_vi_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int capture_vi_remove_wrapper(struct platform_device *pdev)
|
static int capture_vi_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return capture_vi_remove(pdev);
|
return capture_vi_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0 */
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/* SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All Rights Reserved. */
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
/*
|
/*
|
||||||
* cam_cdi_tsc.c - tsc driver.
|
* cam_cdi_tsc.c - tsc driver.
|
||||||
*/
|
*/
|
||||||
@@ -646,12 +646,12 @@ MODULE_DEVICE_TABLE(of, cdi_tsc_of_match);
|
|||||||
static SIMPLE_DEV_PM_OPS(cdi_tsc_pm, cdi_tsc_suspend, cdi_tsc_resume);
|
static SIMPLE_DEV_PM_OPS(cdi_tsc_pm, cdi_tsc_suspend, cdi_tsc_resume);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void cdi_tsc_remove_wrapper(struct platform_device *pdev)
|
static void cdi_tsc_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
cdi_tsc_remove(pdev);
|
cdi_tsc_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int cdi_tsc_remove_wrapper(struct platform_device *pdev)
|
static int cdi_tsc_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return cdi_tsc_remove(pdev);
|
return cdi_tsc_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2017-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2017-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -331,12 +331,12 @@ static const struct of_device_id cdi_gpio_dt_ids[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, cdi_gpio_dt_ids);
|
MODULE_DEVICE_TABLE(of, cdi_gpio_dt_ids);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void cdi_gpio_remove_wrapper(struct platform_device *pdev)
|
static void cdi_gpio_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
cdi_gpio_remove(pdev);
|
cdi_gpio_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int cdi_gpio_remove_wrapper(struct platform_device *pdev)
|
static int cdi_gpio_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return cdi_gpio_remove(pdev);
|
return cdi_gpio_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (C) 2015-2024 NVIDIA CORPORATION. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -2085,12 +2085,12 @@ static const struct of_device_id cdi_mgr_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, cdi_mgr_of_match);
|
MODULE_DEVICE_TABLE(of, cdi_mgr_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void cdi_mgr_remove_wrapper(struct platform_device *pdev)
|
static void cdi_mgr_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
cdi_mgr_remove(pdev);
|
cdi_mgr_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int cdi_mgr_remove_wrapper(struct platform_device *pdev)
|
static int cdi_mgr_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return cdi_mgr_remove(pdev);
|
return cdi_mgr_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -255,12 +255,12 @@ static const struct dev_pm_ops cdi_pwm_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void cdi_pwm_remove_wrapper(struct platform_device *pdev)
|
static void cdi_pwm_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
cdi_pwm_remove(pdev);
|
cdi_pwm_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int cdi_pwm_remove_wrapper(struct platform_device *pdev)
|
static int cdi_pwm_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return cdi_pwm_remove(pdev);
|
return cdi_pwm_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2017-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2017-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -331,12 +331,12 @@ static const struct of_device_id isc_gpio_dt_ids[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, isc_gpio_dt_ids);
|
MODULE_DEVICE_TABLE(of, isc_gpio_dt_ids);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void isc_gpio_remove_wrapper(struct platform_device *pdev)
|
static void isc_gpio_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
isc_gpio_remove(pdev);
|
isc_gpio_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int isc_gpio_remove_wrapper(struct platform_device *pdev)
|
static int isc_gpio_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return isc_gpio_remove(pdev);
|
return isc_gpio_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -1205,12 +1205,12 @@ static const struct of_device_id isc_mgr_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, isc_mgr_of_match);
|
MODULE_DEVICE_TABLE(of, isc_mgr_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void isc_mgr_remove_wrapper(struct platform_device *pdev)
|
static void isc_mgr_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
isc_mgr_remove(pdev);
|
isc_mgr_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int isc_mgr_remove_wrapper(struct platform_device *pdev)
|
static int isc_mgr_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return isc_mgr_remove(pdev);
|
return isc_mgr_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2016-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -255,12 +255,12 @@ static const struct dev_pm_ops isc_pwm_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void isc_pwm_remove_wrapper(struct platform_device *pdev)
|
static void isc_pwm_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
isc_pwm_remove(pdev);
|
isc_pwm_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int isc_pwm_remove_wrapper(struct platform_device *pdev)
|
static int isc_pwm_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return isc_pwm_remove(pdev);
|
return isc_pwm_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2019-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -628,12 +628,12 @@ static struct of_device_id bdroid_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, bdroid_of_match);
|
MODULE_DEVICE_TABLE(of, bdroid_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void bluedroid_pm_remove_wrapper(struct platform_device *pdev)
|
static void bluedroid_pm_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
bluedroid_pm_remove(pdev);
|
bluedroid_pm_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int bluedroid_pm_remove_wrapper(struct platform_device *pdev)
|
static int bluedroid_pm_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return bluedroid_pm_remove(pdev);
|
return bluedroid_pm_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2019-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is NvSciIpc kernel driver. At present its only use is to support
|
* This is NvSciIpc kernel driver. At present its only use is to support
|
||||||
@@ -832,12 +832,12 @@ exit:
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void nvsciipc_remove_wrapper(struct platform_device *pdev)
|
static void nvsciipc_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
nvsciipc_remove(pdev);
|
nvsciipc_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int nvsciipc_remove_wrapper(struct platform_device *pdev)
|
static int nvsciipc_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return nvsciipc_remove(pdev);
|
return nvsciipc_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -727,12 +727,12 @@ MODULE_DEVICE_TABLE(of, tegra_virt_mtd_match);
|
|||||||
#endif /* CONFIG_OF */
|
#endif /* CONFIG_OF */
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_virt_mtd_remove_wrapper(struct platform_device *pdev)
|
static void tegra_virt_mtd_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_virt_mtd_remove(pdev);
|
tegra_virt_mtd_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_virt_mtd_remove_wrapper(struct platform_device *pdev)
|
static int tegra_virt_mtd_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_virt_mtd_remove(pdev);
|
return tegra_virt_mtd_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All Rights Reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -2008,12 +2008,12 @@ static int mttcan_resume(struct platform_device *pdev)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void mttcan_remove_wrapper(struct platform_device *pdev)
|
static void mttcan_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
mttcan_remove(pdev);
|
mttcan_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int mttcan_remove_wrapper(struct platform_device *pdev)
|
static int mttcan_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return mttcan_remove(pdev);
|
return mttcan_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2019-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2019-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -7049,12 +7049,12 @@ static const struct of_device_id ether_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, ether_of_match);
|
MODULE_DEVICE_TABLE(of, ether_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void ether_remove_wrapper(struct platform_device *pdev)
|
static void ether_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
ether_remove(pdev);
|
ether_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int ether_remove_wrapper(struct platform_device *pdev)
|
static int ether_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return ether_remove(pdev);
|
return ether_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -266,12 +266,12 @@ static int nvpmodel_clk_cap_remove(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void nvpmodel_clk_cap_remove_wrapper(struct platform_device *pdev)
|
static void nvpmodel_clk_cap_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
nvpmodel_clk_cap_remove(pdev);
|
nvpmodel_clk_cap_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int nvpmodel_clk_cap_remove_wrapper(struct platform_device *pdev)
|
static int nvpmodel_clk_cap_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return nvpmodel_clk_cap_remove(pdev);
|
return nvpmodel_clk_cap_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2018-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2018-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -1190,12 +1190,12 @@ MODULE_DEVICE_TABLE(of, nvpps_of_table);
|
|||||||
|
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void nvpps_remove_wrapper(struct platform_device *pdev)
|
static void nvpps_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
nvpps_remove(pdev);
|
nvpps_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int nvpps_remove_wrapper(struct platform_device *pdev)
|
static int nvpps_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return nvpps_remove(pdev);
|
return nvpps_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
* PCIe driver to enumerate PCIe virtual functions in VM.
|
* PCIe driver to enumerate PCIe virtual functions in VM.
|
||||||
*
|
*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2021-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -145,12 +145,12 @@ static const struct of_device_id pci_tegra_vf_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, pci_tegra_vf_of_match);
|
MODULE_DEVICE_TABLE(of, pci_tegra_vf_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void pci_tegra_vf_remove_wrapper(struct platform_device *pdev)
|
static void pci_tegra_vf_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
pci_tegra_vf_remove(pdev);
|
pci_tegra_vf_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int pci_tegra_vf_remove_wrapper(struct platform_device *pdev)
|
static int pci_tegra_vf_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return pci_tegra_vf_remove(pdev);
|
return pci_tegra_vf_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2017-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2017-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -115,12 +115,12 @@ static const struct of_device_id tegra_aon_ivc_echo_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, tegra_aon_ivc_echo_match);
|
MODULE_DEVICE_TABLE(of, tegra_aon_ivc_echo_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_aon_ivc_echo_remove_wrapper(struct platform_device *pdev)
|
static void tegra_aon_ivc_echo_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_aon_ivc_echo_remove(pdev);
|
tegra_aon_ivc_echo_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_aon_ivc_echo_remove_wrapper(struct platform_device *pdev)
|
static int tegra_aon_ivc_echo_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_aon_ivc_echo_remove(pdev);
|
return tegra_aon_ivc_echo_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2020-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2020-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -162,12 +162,12 @@ static const struct of_device_id tegra_aon_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, tegra_aon_of_match);
|
MODULE_DEVICE_TABLE(of, tegra_aon_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_aon_remove_wrapper(struct platform_device *pdev)
|
static void tegra_aon_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_aon_remove(pdev);
|
tegra_aon_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_aon_remove_wrapper(struct platform_device *pdev)
|
static int tegra_aon_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_aon_remove(pdev);
|
return tegra_aon_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2019-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -307,12 +307,12 @@ static const struct dev_pm_ops dce_pm_ops = {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_dce_remove_wrapper(struct platform_device *pdev)
|
static void tegra_dce_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_dce_remove(pdev);
|
tegra_dce_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_dce_remove_wrapper(struct platform_device *pdev)
|
static int tegra_dce_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_dce_remove(pdev);
|
return tegra_dce_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#define pr_fmt(fmt) "mc-hwpm: " fmt
|
#define pr_fmt(fmt) "mc-hwpm: " fmt
|
||||||
|
|
||||||
@@ -146,12 +146,12 @@ static int tegra_mc_hwpm_remove(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_mc_hwpm_remove_wrapper(struct platform_device *pdev)
|
static void tegra_mc_hwpm_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_mc_hwpm_remove(pdev);
|
tegra_mc_hwpm_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_mc_hwpm_remove_wrapper(struct platform_device *pdev)
|
static int tegra_mc_hwpm_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_mc_hwpm_remove(pdev);
|
return tegra_mc_hwpm_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -583,12 +583,12 @@ static const struct of_device_id t23x_mce_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, t23x_mce_of_match);
|
MODULE_DEVICE_TABLE(of, t23x_mce_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void t23x_mce_remove_wrapper(struct platform_device *pdev)
|
static void t23x_mce_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
t23x_mce_remove(pdev);
|
t23x_mce_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int t23x_mce_remove_wrapper(struct platform_device *pdev)
|
static int t23x_mce_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return t23x_mce_remove(pdev);
|
return t23x_mce_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2014-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -584,12 +584,12 @@ MODULE_DEVICE_TABLE(of, nvadsp_of_match);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void nvadsp_remove_wrapper(struct platform_device *pdev)
|
static void nvadsp_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
nvadsp_remove(pdev);
|
nvadsp_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int nvadsp_remove_wrapper(struct platform_device *pdev)
|
static int nvadsp_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return nvadsp_remove(pdev);
|
return nvadsp_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2020-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2020-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -296,12 +296,12 @@ MODULE_DEVICE_TABLE(acpi, tegra23x_psc_acpi_match);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra234_psc_remove_wrapper(struct platform_device *pdev)
|
static void tegra234_psc_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra234_psc_remove(pdev);
|
tegra234_psc_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra234_psc_remove_wrapper(struct platform_device *pdev)
|
static int tegra234_psc_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra234_psc_remove(pdev);
|
return tegra234_psc_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -969,12 +969,12 @@ static const struct dev_pm_ops tegra_cam_rtcpu_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_cam_rtcpu_remove_wrapper(struct platform_device *pdev)
|
static void tegra_cam_rtcpu_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_cam_rtcpu_remove(pdev);
|
tegra_cam_rtcpu_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_cam_rtcpu_remove_wrapper(struct platform_device *pdev)
|
static int tegra_cam_rtcpu_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_cam_rtcpu_remove(pdev);
|
return tegra_cam_rtcpu_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -139,12 +139,12 @@ static const struct of_device_id central_actmon_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, central_actmon_of_match);
|
MODULE_DEVICE_TABLE(of, central_actmon_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void central_actmon_remove_wrapper(struct platform_device *pdev)
|
static void central_actmon_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
central_actmon_remove(pdev);
|
central_actmon_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int central_actmon_remove_wrapper(struct platform_device *pdev)
|
static int central_actmon_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return central_actmon_remove(pdev);
|
return central_actmon_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2021-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -464,12 +464,12 @@ static int __maybe_unused fsicom_client_resume(struct device *dev)
|
|||||||
static SIMPLE_DEV_PM_OPS(fsicom_client_pm, fsicom_client_suspend, fsicom_client_resume);
|
static SIMPLE_DEV_PM_OPS(fsicom_client_pm, fsicom_client_suspend, fsicom_client_resume);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void fsicom_client_remove_wrapper(struct platform_device *pdev)
|
static void fsicom_client_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
fsicom_client_remove(pdev);
|
fsicom_client_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int fsicom_client_remove_wrapper(struct platform_device *pdev)
|
static int fsicom_client_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return fsicom_client_remove(pdev);
|
return fsicom_client_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
* Tegra Ultrasonics Sensor Subsystem IO-Proxy driver
|
* Tegra Ultrasonics Sensor Subsystem IO-Proxy driver
|
||||||
*
|
*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2021-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -499,12 +499,12 @@ static int tegra_uss_io_proxy_remove(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_uss_io_proxy_remove_wrapper(struct platform_device *pdev)
|
static void tegra_uss_io_proxy_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_uss_io_proxy_remove(pdev);
|
tegra_uss_io_proxy_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_uss_io_proxy_remove_wrapper(struct platform_device *pdev)
|
static int tegra_uss_io_proxy_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_uss_io_proxy_remove(pdev);
|
return tegra_uss_io_proxy_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -677,12 +677,12 @@ static const struct of_device_id tegra_bl_debug_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, tegra_bl_debug_of_match);
|
MODULE_DEVICE_TABLE(of, tegra_bl_debug_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_bl_debug_remove_wrapper(struct platform_device *pdev)
|
static void tegra_bl_debug_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_bl_debug_remove(pdev);
|
tegra_bl_debug_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_bl_debug_remove_wrapper(struct platform_device *pdev)
|
static int tegra_bl_debug_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_bl_debug_remove(pdev);
|
return tegra_bl_debug_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -624,12 +624,12 @@ static const struct of_device_id scf_pmu_of_device_ids[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, scf_pmu_of_device_ids);
|
MODULE_DEVICE_TABLE(of, scf_pmu_of_device_ids);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void scf_pmu_device_remove_wrapper(struct platform_device *pdev)
|
static void scf_pmu_device_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
scf_pmu_device_remove(pdev);
|
scf_pmu_device_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int scf_pmu_device_remove_wrapper(struct platform_device *pdev)
|
static int scf_pmu_device_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return scf_pmu_device_remove(pdev);
|
return scf_pmu_device_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -568,12 +568,12 @@ static const struct of_device_id pwm_tegra_tach_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, pwm_tegra_tach_of_match);
|
MODULE_DEVICE_TABLE(of, pwm_tegra_tach_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void pwm_tegra_tach_remove_wrapper(struct platform_device *pdev)
|
static void pwm_tegra_tach_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
pwm_tegra_tach_remove(pdev);
|
pwm_tegra_tach_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int pwm_tegra_tach_remove_wrapper(struct platform_device *pdev)
|
static int pwm_tegra_tach_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return pwm_tegra_tach_remove(pdev);
|
return pwm_tegra_tach_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -492,12 +492,12 @@ static int ras_remove(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void ras_remove_wrapper(struct platform_device *pdev)
|
static void ras_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
ras_remove(pdev);
|
ras_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int ras_remove_wrapper(struct platform_device *pdev)
|
static int ras_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return ras_remove(pdev);
|
return ras_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
* RTC driver for NVIDIA Voltage Regulator Power Sequencer
|
* RTC driver for NVIDIA Voltage Regulator Power Sequencer
|
||||||
*
|
*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -523,12 +523,12 @@ static const struct platform_device_id nvvrs_rtc_id[] = {
|
|||||||
MODULE_DEVICE_TABLE(platform, nvvrs_rtc_id);
|
MODULE_DEVICE_TABLE(platform, nvvrs_rtc_id);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void nvvrs_rtc_remove_wrapper(struct platform_device *pdev)
|
static void nvvrs_rtc_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
nvvrs_rtc_remove(pdev);
|
nvvrs_rtc_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int nvvrs_rtc_remove_wrapper(struct platform_device *pdev)
|
static int nvvrs_rtc_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return nvvrs_rtc_remove(pdev);
|
return nvvrs_rtc_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
/*
|
/*
|
||||||
* RTC driver for Maxim MAX77851
|
* RTC driver for Maxim MAX77851
|
||||||
*/
|
*/
|
||||||
@@ -877,12 +877,12 @@ static const struct platform_device_id rtc_id[] = {
|
|||||||
MODULE_DEVICE_TABLE(platform, rtc_id);
|
MODULE_DEVICE_TABLE(platform, rtc_id);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void max77851_rtc_remove_wrapper(struct platform_device *pdev)
|
static void max77851_rtc_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
max77851_rtc_remove(pdev);
|
max77851_rtc_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int max77851_rtc_remove_wrapper(struct platform_device *pdev)
|
static int max77851_rtc_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return max77851_rtc_remove(pdev);
|
return max77851_rtc_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -1949,12 +1949,12 @@ static const struct dev_pm_ops ufs_tegra_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void ufs_tegra_remove_wrapper(struct platform_device *pdev)
|
static void ufs_tegra_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
ufs_tegra_remove(pdev);
|
ufs_tegra_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int ufs_tegra_remove_wrapper(struct platform_device *pdev)
|
static int ufs_tegra_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return ufs_tegra_remove(pdev);
|
return ufs_tegra_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
/* The kfuse block stores downstream and upstream HDCP keys for use by HDMI
|
/* The kfuse block stores downstream and upstream HDCP keys for use by HDMI
|
||||||
* module.
|
* module.
|
||||||
@@ -307,12 +307,12 @@ static const struct of_device_id tegra_kfuse_of_match[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_kfuse_remove_wrapper(struct platform_device *pdev)
|
static void tegra_kfuse_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_kfuse_remove(pdev);
|
tegra_kfuse_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_kfuse_remove_wrapper(struct platform_device *pdev)
|
static int tegra_kfuse_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_kfuse_remove(pdev);
|
return tegra_kfuse_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (C) 2023-2024 NVIDIA CORPORATION. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -2274,12 +2274,12 @@ static const struct dev_pm_ops tegra_spi_pm_ops = {
|
|||||||
SET_SYSTEM_SLEEP_PM_OPS(tegra_spi_suspend, tegra_spi_resume)
|
SET_SYSTEM_SLEEP_PM_OPS(tegra_spi_suspend, tegra_spi_resume)
|
||||||
};
|
};
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_spi_remove_wrapper(struct platform_device *pdev)
|
static void tegra_spi_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_spi_remove(pdev);
|
tegra_spi_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_spi_remove_wrapper(struct platform_device *pdev)
|
static int tegra_spi_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_spi_remove(pdev);
|
return tegra_spi_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (C) 2023-2024 NVIDIA CORPORATION. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -1925,12 +1925,12 @@ static const struct dev_pm_ops tegra_qspi_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_qspi_remove_wrapper(struct platform_device *pdev)
|
static void tegra_qspi_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_qspi_remove(pdev);
|
tegra_qspi_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_qspi_remove_wrapper(struct platform_device *pdev)
|
static int tegra_qspi_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_qspi_remove(pdev);
|
return tegra_qspi_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -210,12 +210,12 @@ static int tegra234_oc_event_remove(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra234_oc_event_remove_wrapper(struct platform_device *pdev)
|
static void tegra234_oc_event_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra234_oc_event_remove(pdev);
|
tegra234_oc_event_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra234_oc_event_remove_wrapper(struct platform_device *pdev)
|
static int tegra234_oc_event_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra234_oc_event_remove(pdev);
|
return tegra234_oc_event_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -242,12 +242,12 @@ static const struct of_device_id thermal_trip_event_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, thermal_trip_event_of_match);
|
MODULE_DEVICE_TABLE(of, thermal_trip_event_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void thermal_trip_event_remove_wrapper(struct platform_device *pdev)
|
static void thermal_trip_event_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
thermal_trip_event_remove(pdev);
|
thermal_trip_event_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int thermal_trip_event_remove_wrapper(struct platform_device *pdev)
|
static int thermal_trip_event_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return thermal_trip_event_remove(pdev);
|
return thermal_trip_event_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -794,12 +794,12 @@ static int tegra_camera_remove(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_camera_remove_wrapper(struct platform_device *pdev)
|
static void tegra_camera_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_camera_remove(pdev);
|
tegra_camera_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_camera_remove_wrapper(struct platform_device *pdev)
|
static int tegra_camera_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_camera_remove(pdev);
|
return tegra_camera_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
* Capture support for syncpoint and GoS management
|
* Capture support for syncpoint and GoS management
|
||||||
*
|
*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2017-2024, NVIDIA Corporation. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2017-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -190,12 +190,12 @@ static const struct of_device_id capture_support_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, capture_support_match);
|
MODULE_DEVICE_TABLE(of, capture_support_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void capture_support_remove_wrapper(struct platform_device *pdev)
|
static void capture_support_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
capture_support_remove(pdev);
|
capture_support_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int capture_support_remove_wrapper(struct platform_device *pdev)
|
static int capture_support_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return capture_support_remove(pdev);
|
return capture_support_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2017-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2017-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -347,12 +347,12 @@ static const struct of_device_id tegra_isp5_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, tegra_isp5_of_match);
|
MODULE_DEVICE_TABLE(of, tegra_isp5_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void isp5_remove_wrapper(struct platform_device *pdev)
|
static void isp5_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
isp5_remove(pdev);
|
isp5_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int isp5_remove_wrapper(struct platform_device *pdev)
|
static int isp5_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return isp5_remove(pdev);
|
return isp5_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2017-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2017-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -247,12 +247,12 @@ static int __exit t194_nvcsi_remove(struct platform_device *dev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void t194_nvcsi_remove_wrapper(struct platform_device *pdev)
|
static void t194_nvcsi_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
t194_nvcsi_remove(pdev);
|
t194_nvcsi_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int t194_nvcsi_remove_wrapper(struct platform_device *pdev)
|
static int t194_nvcsi_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return t194_nvcsi_remove(pdev);
|
return t194_nvcsi_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*
|
*
|
||||||
* NVDLA driver for T194/T23x
|
* NVDLA driver for T194/T23x
|
||||||
*/
|
*/
|
||||||
@@ -1529,12 +1529,12 @@ const struct dev_pm_ops nvdla_module_pm_ops = {
|
|||||||
#endif /* CONFIG_PM */
|
#endif /* CONFIG_PM */
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void __exit nvdla_remove_wrapper(struct platform_device *pdev)
|
static void __exit nvdla_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
nvdla_remove(pdev);
|
nvdla_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int __exit nvdla_remove_wrapper(struct platform_device *pdev)
|
static int __exit nvdla_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return nvdla_remove(pdev);
|
return nvdla_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2016-2024, NVIDIA CORPORATION. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2016-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -1709,12 +1709,12 @@ const struct dev_pm_ops nvpva_module_pm_ops = {
|
|||||||
#endif /* CONFIG_PM */
|
#endif /* CONFIG_PM */
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void __exit pva_remove_wrapper(struct platform_device *pdev)
|
static void __exit pva_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
pva_remove(pdev);
|
pva_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int __exit pva_remove_wrapper(struct platform_device *pdev)
|
static int __exit pva_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return pva_remove(pdev);
|
return pva_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*
|
*
|
||||||
* PVA Application Specific Virtual Memory
|
* PVA Application Specific Virtual Memory
|
||||||
*/
|
*/
|
||||||
@@ -240,12 +240,12 @@ static int __exit pva_iommu_context_dev_remove(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void __exit pva_iommu_context_dev_remove_wrapper(struct platform_device *pdev)
|
static void __exit pva_iommu_context_dev_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
pva_iommu_context_dev_remove(pdev);
|
pva_iommu_context_dev_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int __exit pva_iommu_context_dev_remove_wrapper(struct platform_device *pdev)
|
static int __exit pva_iommu_context_dev_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return pva_iommu_context_dev_remove(pdev);
|
return pva_iommu_context_dev_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2017-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2017-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
/*
|
/*
|
||||||
* VI5 driver
|
* VI5 driver
|
||||||
*/
|
*/
|
||||||
@@ -432,12 +432,12 @@ const struct dev_pm_ops vi_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void vi5_remove_wrapper(struct platform_device *pdev)
|
static void vi5_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
vi5_remove(pdev);
|
vi5_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int vi5_remove_wrapper(struct platform_device *pdev)
|
static int vi5_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return vi5_remove(pdev);
|
return vi5_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2014-2024, NVIDIA CORPORATION. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#define pr_fmt(fmt) "%s: " fmt, __func__
|
#define pr_fmt(fmt) "%s: " fmt, __func__
|
||||||
|
|
||||||
@@ -1010,12 +1010,12 @@ static bool nvmap_is_carveout_node_present(void)
|
|||||||
#endif /* NVMAP_LOADABLE_MODULE */
|
#endif /* NVMAP_LOADABLE_MODULE */
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void nvmap_remove_wrapper(struct platform_device *pdev)
|
static void nvmap_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
nvmap_remove(pdev);
|
nvmap_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int nvmap_remove_wrapper(struct platform_device *pdev)
|
static int nvmap_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return nvmap_remove(pdev);
|
return nvmap_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*
|
*
|
||||||
* Tegra TSEC Module Support
|
* Tegra TSEC Module Support
|
||||||
*/
|
*/
|
||||||
@@ -463,12 +463,12 @@ static int tsec_remove(struct platform_device *dev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tsec_remove_wrapper(struct platform_device *pdev)
|
static void tsec_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tsec_remove(pdev);
|
tsec_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tsec_remove_wrapper(struct platform_device *pdev)
|
static int tsec_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tsec_remove(pdev);
|
return tsec_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -1008,12 +1008,12 @@ static const struct of_device_id tegra_hv_match[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_hv_remove_wrapper(struct platform_device *pdev)
|
static void tegra_hv_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_hv_remove(pdev);
|
tegra_hv_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_hv_remove_wrapper(struct platform_device *pdev)
|
static int tegra_hv_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_hv_remove(pdev);
|
return tegra_hv_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -1145,12 +1145,12 @@ static const struct of_device_id tegra_hv_pm_ctl_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, tegra_hv_pm_ctl_match);
|
MODULE_DEVICE_TABLE(of, tegra_hv_pm_ctl_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_hv_pm_ctl_remove_wrapper(struct platform_device *pdev)
|
static void tegra_hv_pm_ctl_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_hv_pm_ctl_remove(pdev);
|
tegra_hv_pm_ctl_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_hv_pm_ctl_remove_wrapper(struct platform_device *pdev)
|
static int tegra_hv_pm_ctl_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_hv_pm_ctl_remove(pdev);
|
return tegra_hv_pm_ctl_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#define pr_fmt(fmt) "%s:%s(): " fmt, KBUILD_MODNAME, __func__
|
#define pr_fmt(fmt) "%s:%s(): " fmt, KBUILD_MODNAME, __func__
|
||||||
|
|
||||||
@@ -459,12 +459,12 @@ static const struct of_device_id tegra_hv_vcpu_yield_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, tegra_hv_vcpu_yield_match);
|
MODULE_DEVICE_TABLE(of, tegra_hv_vcpu_yield_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_hv_vcpu_yield_remove_wrapper(struct platform_device *pdev)
|
static void tegra_hv_vcpu_yield_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_hv_vcpu_yield_remove(pdev);
|
tegra_hv_vcpu_yield_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_hv_vcpu_yield_remove_wrapper(struct platform_device *pdev)
|
static int tegra_hv_vcpu_yield_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_hv_vcpu_yield_remove(pdev);
|
return tegra_hv_vcpu_yield_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
/*
|
/*
|
||||||
* Maxim MAX77851 Watchdog Driver
|
* Maxim MAX77851 Watchdog Driver
|
||||||
*/
|
*/
|
||||||
@@ -211,12 +211,12 @@ static struct platform_device_id max77851_wdt_devtype[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void max77851_wdt_remove_wrapper(struct platform_device *pdev)
|
static void max77851_wdt_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
max77851_wdt_remove(pdev);
|
max77851_wdt_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int max77851_wdt_remove_wrapper(struct platform_device *pdev)
|
static int max77851_wdt_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return max77851_wdt_remove(pdev);
|
return max77851_wdt_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
* A platform based Software Watchdog Device
|
* A platform based Software Watchdog Device
|
||||||
*
|
*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2014-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
@@ -243,12 +243,12 @@ static struct of_device_id softdog_platform_of_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, softdog_platform_of_match);
|
MODULE_DEVICE_TABLE(of, softdog_platform_of_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void softdog_platform_remove_wrapper(struct platform_device *pdev)
|
static void softdog_platform_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
softdog_platform_remove(pdev);
|
softdog_platform_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int softdog_platform_remove_wrapper(struct platform_device *pdev)
|
static int softdog_platform_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return softdog_platform_remove(pdev);
|
return softdog_platform_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -831,12 +831,12 @@ static const struct of_device_id tegra_wdt_t18x_match[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, tegra_wdt_t18x_match);
|
MODULE_DEVICE_TABLE(of, tegra_wdt_t18x_match);
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_wdt_t18x_remove_wrapper(struct platform_device *pdev)
|
static void tegra_wdt_t18x_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_wdt_t18x_remove(pdev);
|
tegra_wdt_t18x_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_wdt_t18x_remove_wrapper(struct platform_device *pdev)
|
static int tegra_wdt_t18x_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_wdt_t18x_remove(pdev);
|
return tegra_wdt_t18x_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
// Options: --no-includes --include-headers --smpl-spacing
|
// Options: --no-includes --include-headers --smpl-spacing
|
||||||
|
|
||||||
@match1@
|
@match1@
|
||||||
@@ -26,12 +26,12 @@ identifier match1.removefn;
|
|||||||
fresh identifier removefn_wrapper = removefn ## "_wrapper";
|
fresh identifier removefn_wrapper = removefn ## "_wrapper";
|
||||||
@@
|
@@
|
||||||
+#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
+#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
+static inline void removefn_wrapper(struct platform_device *pdev)
|
+static void removefn_wrapper(struct platform_device *pdev)
|
||||||
+{
|
+{
|
||||||
+ removefn(pdev);
|
+ removefn(pdev);
|
||||||
+}
|
+}
|
||||||
+#else
|
+#else
|
||||||
+static inline int removefn_wrapper(struct platform_device *pdev)
|
+static int removefn_wrapper(struct platform_device *pdev)
|
||||||
+{
|
+{
|
||||||
+ return removefn(pdev);
|
+ return removefn(pdev);
|
||||||
+}
|
+}
|
||||||
@@ -48,12 +48,12 @@ identifier match2.removefn;
|
|||||||
fresh identifier removefn_wrapper = removefn ## "_wrapper";
|
fresh identifier removefn_wrapper = removefn ## "_wrapper";
|
||||||
@@
|
@@
|
||||||
+#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
+#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
+static inline void removefn_wrapper(struct platform_device *pdev)
|
+static void removefn_wrapper(struct platform_device *pdev)
|
||||||
+{
|
+{
|
||||||
+ removefn(pdev);
|
+ removefn(pdev);
|
||||||
+}
|
+}
|
||||||
+#else
|
+#else
|
||||||
+static inline int removefn_wrapper(struct platform_device *pdev)
|
+static int removefn_wrapper(struct platform_device *pdev)
|
||||||
+{
|
+{
|
||||||
+ return removefn(pdev);
|
+ return removefn(pdev);
|
||||||
+}
|
+}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2021-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#include <nvidia/conftest.h>
|
#include <nvidia/conftest.h>
|
||||||
|
|
||||||
@@ -250,12 +250,12 @@ static int tegra_virt_machine_driver_remove(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra_virt_machine_driver_remove_wrapper(struct platform_device *pdev)
|
static void tegra_virt_machine_driver_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra_virt_machine_driver_remove(pdev);
|
tegra_virt_machine_driver_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra_virt_machine_driver_remove_wrapper(struct platform_device *pdev)
|
static int tegra_virt_machine_driver_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra_virt_machine_driver_remove(pdev);
|
return tegra_virt_machine_driver_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2015-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2015-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*
|
*
|
||||||
* tegra186_arad.c - Tegra186 ARAD driver
|
* tegra186_arad.c - Tegra186 ARAD driver
|
||||||
*/
|
*/
|
||||||
@@ -799,12 +799,12 @@ static const struct dev_pm_ops tegra186_arad_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra186_arad_platform_remove_wrapper(struct platform_device *pdev)
|
static void tegra186_arad_platform_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra186_arad_platform_remove(pdev);
|
tegra186_arad_platform_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra186_arad_platform_remove_wrapper(struct platform_device *pdev)
|
static int tegra186_arad_platform_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra186_arad_platform_remove(pdev);
|
return tegra186_arad_platform_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2014-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*
|
*
|
||||||
* tegra210_adsp.c - Tegra ADSP audio driver
|
* tegra210_adsp.c - Tegra ADSP audio driver
|
||||||
*
|
*
|
||||||
@@ -4809,12 +4809,12 @@ static const struct dev_pm_ops tegra210_adsp_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra210_adsp_audio_remove_wrapper(struct platform_device *pdev)
|
static void tegra210_adsp_audio_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra210_adsp_audio_remove(pdev);
|
tegra210_adsp_audio_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra210_adsp_audio_remove_wrapper(struct platform_device *pdev)
|
static int tegra210_adsp_audio_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra210_adsp_audio_remove(pdev);
|
return tegra210_adsp_audio_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2014-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*
|
*
|
||||||
* tegra210_afc.c - Tegra210 AFC driver
|
* tegra210_afc.c - Tegra210 AFC driver
|
||||||
*/
|
*/
|
||||||
@@ -564,12 +564,12 @@ static const struct dev_pm_ops tegra210_afc_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra210_afc_platform_remove_wrapper(struct platform_device *pdev)
|
static void tegra210_afc_platform_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra210_afc_platform_remove(pdev);
|
tegra210_afc_platform_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra210_afc_platform_remove_wrapper(struct platform_device *pdev)
|
static int tegra210_afc_platform_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra210_afc_platform_remove(pdev);
|
return tegra210_afc_platform_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: Copyright (c) 2014-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
* SPDX-FileCopyrightText: Copyright (c) 2014-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
*
|
*
|
||||||
* tegra210_iqc.c - Tegra210 IQC driver
|
* tegra210_iqc.c - Tegra210 IQC driver
|
||||||
*/
|
*/
|
||||||
@@ -350,12 +350,12 @@ static const struct dev_pm_ops tegra210_iqc_pm_ops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void tegra210_iqc_platform_remove_wrapper(struct platform_device *pdev)
|
static void tegra210_iqc_platform_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
tegra210_iqc_platform_remove(pdev);
|
tegra210_iqc_platform_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int tegra210_iqc_platform_remove_wrapper(struct platform_device *pdev)
|
static int tegra210_iqc_platform_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return tegra210_iqc_platform_remove(pdev);
|
return tegra210_iqc_platform_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2021-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
#define pr_fmt(msg) "Safety I2S: " msg
|
#define pr_fmt(msg) "Safety I2S: " msg
|
||||||
|
|
||||||
@@ -816,12 +816,12 @@ static int t234_safety_audio_remove(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
#if defined(NV_PLATFORM_DRIVER_STRUCT_REMOVE_RETURNS_VOID) /* Linux v6.11 */
|
||||||
static inline void t234_safety_audio_remove_wrapper(struct platform_device *pdev)
|
static void t234_safety_audio_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
t234_safety_audio_remove(pdev);
|
t234_safety_audio_remove(pdev);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline int t234_safety_audio_remove_wrapper(struct platform_device *pdev)
|
static int t234_safety_audio_remove_wrapper(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
return t234_safety_audio_remove(pdev);
|
return t234_safety_audio_remove(pdev);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user