Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4171636rwb; Tue, 6 Sep 2022 03:48:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR5fvx8Z3GKraeaKWhv066dqD2WSWPAt0t1kkysMBwCjhEO3aWQxpy0YPxcOB/8KtuNVTwc+ X-Received: by 2002:a05:6a00:2906:b0:52a:bc7f:f801 with SMTP id cg6-20020a056a00290600b0052abc7ff801mr55857339pfb.49.1662461316680; Tue, 06 Sep 2022 03:48:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662461316; cv=none; d=google.com; s=arc-20160816; b=qiKz4LhzrqdaycXr+8A9BlpEYvo/iIBLTESJplPoQZ4UcgExMCkmGJia9aTAjQVkRu S1MagLlYiUR7QiOns+IMUxga8ZWuncGyL7b/AzQZkYEGySrdsr2lesuDvs+NmYfQacsC KpP2BGCbSSn1ssMcNJNsdeJ1fpiBU+izMPznh5pftUv+PBktspQ2QzZZwN2WRbneVJu6 wOPonCEEYuZVHtdvScRnx3oo8QBYwMN/ENPoFDjvCAf30+bH/0GcJqTURV57ov2yalUx LDu9VOCH6uzW9DvWnWuAzxL32E5V62iK4u3qk1c1BOEpPSXRpdINGY1Busc1haJdPuNd fCJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=gWSlb2z+SbuyAwofilKiu4HLOFU6hw1czjhYe7HOfkM=; b=c6El1iba1QgYWeU2gPTrOGF9Dr1wWqJqONolHYNiG/1qn61gwkd8SrX5hrCaq/+RT+ eYak2XauiCVfnfqa8cSvFXIbdHoJLRg4DbEwvY8wQ8pn1JkzjPZTsTsXQQnWrZDnlkcU Dg65CKC+8N1BfNDO/aN5lqPyQvIVo+IIUHbnUGBIWxJKevpd9K36md5vp0T2FgWwVk+N PefFQUYTcaAxFakAuU3H1M3y9V7+XsFaFcfoxgIqOUkUwTLsq9NDC3yrqnwJaueFdTrX 72NxX/iKE8lu2mOuxt0dbSvOh8gRBetD7OO1Z4gx75IZSTqAy6d5ka/VmrOVIgYVsglL Cp9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=opBkYFYd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l184-20020a6391c1000000b004159dcfc653si11085085pge.40.2022.09.06.03.48.25; Tue, 06 Sep 2022 03:48:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=opBkYFYd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234061AbiIFKgV (ORCPT + 99 others); Tue, 6 Sep 2022 06:36:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239297AbiIFKgT (ORCPT ); Tue, 6 Sep 2022 06:36:19 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DC5550054 for ; Tue, 6 Sep 2022 03:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1662460578; x=1693996578; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=ERKopaaWi+K6cNHT3ZbESo7Lv25nO4+oZ5ztwe9K7dI=; b=opBkYFYdwWV1OcMBP1IpWyQahcJpDm485ymq9foRuLeQ1EgQdShcsSPQ zACNRLf1WG+0jSDw0/oAZqvUdvZ2Q7nuK0YE1iPbya+YNaLPvN+rk4F7M hBx676yuT0bz2f1cfL1IJ+hs+Umv6EGWDs6k2Llqf0GfgLyat4GT2wTZK jOKPrm1tPiTDqRqWXhoJdOtErFrpZIU/nHYCzuVaQbZ4I4oQjfaeKbDL7 YgeOLU7cnzRPuOsoazWHl56O7DJC2C6DF6DLRrXB5RjgbQncze3++3+nA et7jCHP/puVbTXk9qNrp9dq2lJUPrtWrGeYLZgYPOq/6qBIqGWVf7po+o A==; X-IronPort-AV: E=Sophos;i="5.93,294,1654585200"; d="scan'208";a="112344816" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 06 Sep 2022 03:36:17 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Tue, 6 Sep 2022 03:36:14 -0700 Received: from CHE-LT-UNGSOFTWARE.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Tue, 6 Sep 2022 03:36:12 -0700 From: Kumaravel Thiagarajan To: , , , , Subject: [PATCH v2 char-misc-next] misc: microchip: pci1xxxx: fix dependency issues in building the pci1xxxx's aux bus driver. Date: Tue, 6 Sep 2022 16:06:58 +0530 Message-ID: <20220906103658.681751-1-kumaravel.thiagarajan@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org build errors and warnings listed below and reported by kernel test robot on the char-misc-next branch are fixed in this add-on patch. errors: ERROR: modpost: "auxiliary_device_init" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.ko] undefined! ERROR: modpost: "__auxiliary_device_add" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.ko] undefined! ERROR: modpost: "auxiliary_driver_unregister" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.ko] undefined! ERROR: modpost: "__auxiliary_driver_register" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.ko] undefined! ia64-linux-ld: drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.o: in function `gp_aux_bus_probe.part.0': mchp_pci1xxxx_gp.c:(.text+0x342): undefined reference to `auxiliary_device_init' ia64-linux-ld: mchp_pci1xxxx_gp.c:(.text+0x392): undefined reference to `__auxiliary_device_add' ia64-linux-ld: mchp_pci1xxxx_gp.c:(.text+0x5c2): undefined reference to `auxiliary_device_init' ia64-linux-ld: mchp_pci1xxxx_gp.c:(.text+0x612): undefined reference to `__auxiliary_device_add' ia64-linux-ld: drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.o: in function `pci1xxxx_gpio_driver_init': mchp_pci1xxxx_gpio.c:(.init.text+0x42): undefined reference to `__auxiliary_driver_register' warnings: unmet direct dependencies detected for GPIOLIB_IRQCHIP when selected by GP_PCI1XXXX Fixes: 393fc2f5948f ("misc: microchip: pci1xxxx: load auxiliary bus driver for the PIO function in the multi-function endpoint of pci1xxxx device.") Reported-by: kernel test robot Signed-off-by: Kumaravel Thiagarajan --- drivers/misc/mchp_pci1xxxx/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/misc/mchp_pci1xxxx/Kconfig b/drivers/misc/mchp_pci1xxxx/Kconfig index f6a6970d2a59..4abb47de7219 100644 --- a/drivers/misc/mchp_pci1xxxx/Kconfig +++ b/drivers/misc/mchp_pci1xxxx/Kconfig @@ -1,7 +1,9 @@ config GP_PCI1XXXX tristate "Microchip PCI1XXXX PCIe to GPIO Expander + OTP/EEPROM manager" - depends on PCI + depends on PCI + depends on GPIOLIB select GPIOLIB_IRQCHIP + select AUXILIARY_BUS help PCI1XXXX is a PCIe GEN 3 switch with one of the endpoints having multiple functions and one of the functions is a GPIO controller -- 2.25.1