mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
drivers: misc: fix implicit function
The following error is observed when PCIE EP is enabled: drivers/misc/nvscic2c-pcie/stream-extensions.c:766:23: error: implicit declaration of function ‘platform_get_drvdata’ Include the appropriate file. Bug 4456727 Bug 4451567 Change-Id: I46aab2fbd01142b9eb3a5a5d665465c115ddeb47 Signed-off-by: Brad Griffis <bgriffis@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3128579 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
a84ded5d3e
commit
4e35e4b067
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
// Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
|
||||
#define pr_fmt(fmt) "nvscic2c-pcie: stream-ext: " fmt
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <linux/host1x-next.h>
|
||||
#include <linux/of.h>
|
||||
#include <linux/of_platform.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/syscalls.h>
|
||||
#include <linux/tegra-pcie-edma.h>
|
||||
|
||||
Reference in New Issue
Block a user