From: Brigham Campbell Date: Sat, 2 Aug 2025 19:25:47 +0000 (-0600) Subject: accel/rocket: Fix undeclared const rocket_pm_ops X-Git-Tag: v6.18-rc1~134^2~22^2~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d9c1b06f3553977c50017e7ab40f8cecf80a30c9;p=thirdparty%2Flinux.git accel/rocket: Fix undeclared const rocket_pm_ops Fix sparse warning regarding an undeclared const rocket_pm_ops, which is used in rocket_drv.c. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202508030021.uwdr4P08-lkp@intel.com/ Signed-off-by: Brigham Campbell Signed-off-by: Tomeu Vizoso Link: https://lore.kernel.org/r/20250802-fix-rockchip-npu-build-v1-2-fb0f0dacb3fe@brighamcampbell.com --- diff --git a/drivers/accel/rocket/rocket_drv.h b/drivers/accel/rocket/rocket_drv.h index f50634935b605..2c673bb99ccc1 100644 --- a/drivers/accel/rocket/rocket_drv.h +++ b/drivers/accel/rocket/rocket_drv.h @@ -9,6 +9,8 @@ #include "rocket_device.h" +extern const struct dev_pm_ops rocket_pm_ops; + struct rocket_iommu_domain { struct iommu_domain *domain; struct kref kref;