net: pse-pd: Kconfig: Fix missing firmware loader config select
authorKory Maincent <kory.maincent@bootlin.com>
Thu, 20 Jun 2024 09:57:50 +0000 (11:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Jun 2024 10:29:52 +0000 (11:29 +0100)
Selecting FW_UPLOAD is not sufficient as it allows the firmware loader
API to be built as a module alongside the pd692x0 driver built as builtin.
Add select FW_LOADER to fix this issue.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406200632.hSChnX0g-lkp@intel.com/
Fixes: 9a9938451890 ("net: pse-pd: Add PD692x0 PSE controller driver")
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pse-pd/Kconfig

index 577ea904b3d9198109c17a4c67022d46080397d6..7fab916a7f46ab294a060f832ef431e277b1a3d5 100644 (file)
@@ -23,6 +23,7 @@ config PSE_REGULATOR
 config PSE_PD692X0
        tristate "PD692X0 PSE controller"
        depends on I2C
+       select FW_LOADER
        select FW_UPLOAD
        help
          This module provides support for PD692x0 regulator based Ethernet