31b17c3aeb
Driver added a new dev_pm_ops structure used only if CONFIG_PM is set. The
CONFIG_PM MACRO needed to be moved up in the code to avoid the compiler
warnings. The hunk to move the location was missing from the above patch.
Found by kernel test robot by building driver with CONFIG_PM disabled.
Link: https://lore.kernel.org/all/202202090657.bstNLuce-lkp@intel.com/
Link: https://lore.kernel.org/r/20220210201151.236170-1-don.brace@microchip.com
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
smartpqi.h | ||
smartpqi_init.c | ||
smartpqi_sas_transport.c | ||
smartpqi_sis.c | ||
smartpqi_sis.h |