drm/xe/pm: Use PM functions only if CONFIG_PM_SLEEP is enabled
authorFrancois Dugast <francois.dugast@intel.com>
Wed, 23 Aug 2023 09:10:20 +0000 (09:10 +0000)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:41:02 +0000 (11:41 -0500)
commit621fd7dc38b7c18d4946a05051f674fcab82d4dd
treec98252e084b78ddb631b3ab50cbec06329107bec
parent617eebb9c4807be77ca6f02eee7469e5e111861d
drm/xe/pm: Use PM functions only if CONFIG_PM_SLEEP is enabled

This fixes the build without CONFIG_PM_SLEEP such as for riscv.

Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_pci.c