Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp353977rwd; Wed, 7 Jun 2023 00:27:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4mpcgMI+bY2BIaAetSWDcVIG/57IdD1LnbUsnOWFghoxnD6h7dY5ovIeOj0lz2HBMMnaiz X-Received: by 2002:a05:6a20:e194:b0:10f:b53d:8641 with SMTP id ks20-20020a056a20e19400b0010fb53d8641mr1184351pzb.46.1686122821769; Wed, 07 Jun 2023 00:27:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686122821; cv=none; d=google.com; s=arc-20160816; b=gZx0xOcg0XA/6ek7ptfgdAIpHNlibFMMA7bj+zBl4vb0mBE+9dUlkwIfUNdoydSCeW xg7udEw1c1lvjJQjtX35J3cSmMqgI5mg7aV9gHNjgsVDTrO9vEitcw6o8fvR6t5oaL6p CP4UUqo4ClJ/sungiZxPjePv3SUAW4RNqIZ6jwQy6vMyob1QI7n3aAirPX8dWPdDDclo B24YbrevvnLKdnusuyt0XBqcwPnkGHB2buqiLTmPKfl/7bts0vsjpI0OiIEv1E8fuFSE aFgetWfYV3CnEc27pCDoXH0YvyKN4KwJo6LkO3CO/dA6+IEKxucl+BBn9/mSqJavhWp1 Wkfg== 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:cc:to:from; bh=vtD1akXaV5ibKeVNQGDkErlAZDfEdJn/RY0Gm9Og4oA=; b=VnFIhtPeQPdiz5IZX+EpmDU6Ld+yi1f+bcZ+2qXf32YQKIag1rsAzbx8o6kqWtkUzC vD7EgukbOBRgzp3mHkgbRzI+v4SWPnbkRn9+e5rAmilfaQ8MsooHm0O/Yf5hmoB34j8X TV2co464bPYicr5JVToPQ07xVGx42Ta08TLP9zLXdmjQ5Li/VtUFT6TydGkuM4vK8uqP g2TsNcOgXRo+pCpV8iU5B8R/DRkeJqFYAFzCPaOdjhdcKzU7KLczPKEBmh6cmUsW9OVR m+Mul8T7FWzOLiTLJ81TKwQNZ6btXY6l5QTle8StCQtQvS+RV2bw0YIGl3QR9qq7LmQt NrdQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 13-20020a170902e9cd00b001b176dc95d4si8304975plk.557.2023.06.07.00.26.49; Wed, 07 Jun 2023 00:27:01 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233416AbjFGHYC (ORCPT + 99 others); Wed, 7 Jun 2023 03:24:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239082AbjFGHXi (ORCPT ); Wed, 7 Jun 2023 03:23:38 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0A93C2121; Wed, 7 Jun 2023 00:22:57 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.43]) by gateway (Coremail) with SMTP id _____8AxHutOMIBkWQ4AAA--.205S3; Wed, 07 Jun 2023 15:22:54 +0800 (CST) Received: from openarena.loongson.cn (unknown [10.20.42.43]) by localhost.localdomain (Coremail) with SMTP id AQAAf8DxbMpNMIBkPQEEAA--.6109S2; Wed, 07 Jun 2023 15:22:53 +0800 (CST) From: Sui Jingfeng To: Paul Cercueil , David Airlie , Daniel Vetter Cc: linux-mips@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/ingenic: Kconfig: select REGMAP and REGMAP_MMIO Date: Wed, 7 Jun 2023 15:22:53 +0800 Message-Id: <20230607072253.440613-1-suijingfeng@loongson.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8DxbMpNMIBkPQEEAA--.6109S2 X-CM-SenderInfo: xvxlyxpqjiv03j6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBj93XoW7XrWxWw1fuFyfWr4fCryDJwc_yoW8Jr4rpF sxt34kuFWxZFWvk3y7AFyxWa45Z3W5XFWSkF93twn09r98AFW0yrZxAFW3XFyDAwnrX3y2 qas3KFW7tFyUZFcCm3ZEXasCq-sJn29KB7ZKAUJUUUU8529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUUkSb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r106r15M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Jr0_Gr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AK xVW8Jr0_Cr1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6xACxx 1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r106r15McIj6I8E87Iv 67AKxVWxJVW8Jr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28Icx kI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2Iq xVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42 IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY 6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Cr0_Gr1UMIIF0xvEx4A2js IEc7CjxVAFwI0_Gr1j6F4UJbIYCTnIWIevJa73UjIFyTuYvjxUFwZ2UUUUU X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Otherwise its failed to pass basic compile test on platform without REGMAP_MMIO selected by defconfig make -j$(nproc) ARCH=mips CROSS_COMPILE=mips64el-linux-gnuabi64- SYNC include/config/auto.conf.cmd Checking missing-syscalls for N32 CALL scripts/checksyscalls.sh Checking missing-syscalls for O32 CALL scripts/checksyscalls.sh CALL scripts/checksyscalls.sh MODPOST Module.symvers ERROR: modpost: "__devm_regmap_init_mmio_clk" [drivers/gpu/drm/ingenic/ingenic-drm.ko] undefined! make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1 make: *** [Makefile:1978: modpost] Error 2 Signed-off-by: Sui Jingfeng --- drivers/gpu/drm/ingenic/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/ingenic/Kconfig b/drivers/gpu/drm/ingenic/Kconfig index a53f475d33df..7457c0b65034 100644 --- a/drivers/gpu/drm/ingenic/Kconfig +++ b/drivers/gpu/drm/ingenic/Kconfig @@ -5,6 +5,8 @@ config DRM_INGENIC depends on CMA depends on OF depends on COMMON_CLK + select REGMAP + select REGMAP_MMIO select DRM_BRIDGE select DRM_PANEL_BRIDGE select DRM_KMS_HELPER -- 2.25.1