]> Git Repo - linux.git/commitdiff
platform/mellanox: mlxbf-bootctl: add NET dependency into Kconfig
authorDavid Thompson <[email protected]>
Tue, 5 Sep 2023 13:32:43 +0000 (09:32 -0400)
committerHans de Goede <[email protected]>
Mon, 11 Sep 2023 11:13:25 +0000 (13:13 +0200)
The latest version of the mlxbf_bootctl driver utilizes
"sysfs_format_mac", and this API is only available if
NET is defined in the kernel configuration. This patch
changes the mlxbf_bootctl Kconfig to depend on NET.

Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: David Thompson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
drivers/platform/mellanox/Kconfig

index 382793e73a60a8b3f4ade16b00768fc368eb50e2..e52aea996ca51799bde02d6d0a0ae47267ed7eab 100644 (file)
@@ -60,6 +60,7 @@ config MLXBF_BOOTCTL
        tristate "Mellanox BlueField Firmware Boot Control driver"
        depends on ARM64
        depends on ACPI
+       depends on NET
        help
          The Mellanox BlueField firmware implements functionality to
          request swapping the primary and alternate eMMC boot partition,
This page took 0.057711 seconds and 4 git commands to generate.