diff options
author | Min-Hua Chen <minhuadotchen@gmail.com> | 2023-07-21 01:21:54 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-08-07 14:28:06 +0200 |
commit | ed8c975b0f64ffc1e546fca26519974d8a446831 (patch) | |
tree | 6517a1f488c46231d70a68f010446bfbb28dc772 /drivers/iommu/apple-dart.c | |
parent | Linux 6.5-rc1 (diff) | |
download | linux-ed8c975b0f64ffc1e546fca26519974d8a446831.tar.xz linux-ed8c975b0f64ffc1e546fca26519974d8a446831.zip |
iommu/apple-dart: mark apple_dart_pm_ops static
This patch fixes the following sparse warning:
drivers/iommu/apple-dart.c:1279:1: sparse: warning: symbol 'apple_dart_pm_ops' was not declared. Should it be static?
No functional change intended.
Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>
Acked-by: Sven Peter <sven@svenpeter.dev>
Link: https://lore.kernel.org/r/20230720232155.3923-1-minhuadotchen@gmail.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/apple-dart.c')
-rw-r--r-- | drivers/iommu/apple-dart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/apple-dart.c b/drivers/iommu/apple-dart.c index 8af64b57f048..2082081402d3 100644 --- a/drivers/iommu/apple-dart.c +++ b/drivers/iommu/apple-dart.c @@ -1276,7 +1276,7 @@ static __maybe_unused int apple_dart_resume(struct device *dev) return 0; } -DEFINE_SIMPLE_DEV_PM_OPS(apple_dart_pm_ops, apple_dart_suspend, apple_dart_resume); +static DEFINE_SIMPLE_DEV_PM_OPS(apple_dart_pm_ops, apple_dart_suspend, apple_dart_resume); static const struct of_device_id apple_dart_of_match[] = { { .compatible = "apple,t8103-dart", .data = &apple_dart_hw_t8103 }, |