Fix sparse warning regarding an undeclared const rocket_pm_ops, which is used in rocket_drv.c.
Reported-by: kernel test robot <l...@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202508030021.uwdr4p08-...@intel.com/ Signed-off-by: Brigham Campbell <m...@brighamcampbell.com> --- drivers/accel/rocket/rocket_drv.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/accel/rocket/rocket_drv.h b/drivers/accel/rocket/rocket_drv.h index f50634935b605c542cce16a2b91c1e43ec16bc81..2c673bb99ccc1d90e2dafdc89e9a5c6df216a309 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; -- 2.50.1