From 2697ec93e958ab3baa3301efbcb097f10a68166a Mon Sep 17 00:00:00 2001 From: Joachim Foerster Date: Tue, 17 May 2022 15:36:16 +0200 Subject: [PATCH] modules/mqnic: Minor, fix warning, when CONFIG_AUXILIARY_BUS is not available Signed-off-by: Joachim Foerster --- modules/mqnic/mqnic_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/mqnic/mqnic_main.c b/modules/mqnic/mqnic_main.c index 9e05fda99..289029d28 100644 --- a/modules/mqnic/mqnic_main.c +++ b/modules/mqnic/mqnic_main.c @@ -462,7 +462,9 @@ fail_create_if: return 0; // error handling +#ifdef CONFIG_AUXILIARY_BUS fail_adev: +#endif fail_miscdev: fail_board: fail_bar_size: