From patchwork Wed Dec 16 01:40:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 344680 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 728C2C2BB48 for ; Wed, 16 Dec 2020 01:41:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 48CAE22D75 for ; Wed, 16 Dec 2020 01:41:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725836AbgLPBlg (ORCPT ); Tue, 15 Dec 2020 20:41:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725817AbgLPBlg (ORCPT ); Tue, 15 Dec 2020 20:41:36 -0500 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F2F2C061793; Tue, 15 Dec 2020 17:40:56 -0800 (PST) Received: by mail-pj1-x1043.google.com with SMTP id f14so604785pju.4; Tue, 15 Dec 2020 17:40:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=R9E1+JwqFZKk2AK8HE4565Hu+8+uiMrszjBFOFvVtpY=; b=L7vskc4XkaDqTwgdyWWZVSyQln3KIZxUhxwyNTWQN70cy5scBLjNlcFHqXuOpd0dKp 1Gqxr34XBSXY2eQEVwTaf691lk370CwNJkg3pJlVJKPqUEXNujqTybcA2mHjkXHA8MsR HO9BdAo4fxdz4K/H3bmYwp/rBhGOIm8MITWBOQRbMqvbqigeVjkwLGLVnza7XcrdZ9iU XjwXpbdDcD+cx1IrqscI2fVCLtMGyQqS19AnZvMPtf4uNC28syYC2kj1hHuUFLwTRUCc K+01bQMNKUX9NeoFonAQWdtkb4hWFAZA9h+LBGDp+A19iCR6lrf9If8v3/IFAlPrEeGJ FFcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=R9E1+JwqFZKk2AK8HE4565Hu+8+uiMrszjBFOFvVtpY=; b=BGngAaJvXDkTLXPJljYwqM+wSv8fhj+BVhdP6jqZmbVjyz84FEm2jQMmS7IvJTF9it LW8nWWmczSZknLZppLRrNeJbUiwdFU4xKU6s/yJxWQHSDOqqCEuej/0I5zIVuWTcft/F P5vEEEkl7I+9L8pLeRDioYb6D0ggLzR8H4zjZX43j321l1MuVDktQTjDUULjCAGD5QFb sjc8WJQGETfxVWssl8LIAyJMGpcEB4/pxANv1BF1grvjsS87RHMmdiY48Qxv3zgLws71 U3lxwPBFZMopndY6Kmd08MIIr0B41hBJ9HuSEvDzehtwMVIocyAN+xeBoYwGvqCG4Xvd XETg== X-Gm-Message-State: AOAM53054XrHWn5kHpd8j4+D8aSQl1pAlPVEHMKhxtXyVQSxlXorFD+R DjPnqGA+I2OkQYRUrTP2iQpf9tjqyXQ= X-Google-Smtp-Source: ABdhPJzGBB8zm1dGi66063biQGA+g6PaPrxV3ix3fdH330cPAo2NNmaszgmTyB9+2+ZJDvbcNSEtgQ== X-Received: by 2002:a17:90a:7842:: with SMTP id y2mr1177166pjl.36.1608082855873; Tue, 15 Dec 2020 17:40:55 -0800 (PST) Received: from google.com ([2620:15c:202:201:a6ae:11ff:fe11:fcc3]) by smtp.gmail.com with ESMTPSA id w70sm262790pfd.65.2020.12.15.17.40.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Dec 2020 17:40:55 -0800 (PST) Date: Tue, 15 Dec 2020 17:40:52 -0800 From: Dmitry Torokhov To: linux-input@vger.kernel.org Cc: Anson Huang , linux-kernel@vger.kernel.org Subject: [PATCH] Input: imx_keypad - add dependency on HAS_IOMEM Message-ID: MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org devm_platform_ioremap_resource() depends on CONFIG_HAS_IOMEM, so let's add it to the dependencies when COMPILE_TEST is enabled. Reported-by: kernel test robot Fixes: c8834032ffe2 ("Input: imx_keypad - add COMPILE_TEST support") Signed-off-by: Dmitry Torokhov --- drivers/input/keyboard/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index 2b321c17054a..94eab82086b2 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig @@ -446,7 +446,7 @@ config KEYBOARD_MPR121 config KEYBOARD_SNVS_PWRKEY tristate "IMX SNVS Power Key Driver" - depends on ARCH_MXC || COMPILE_TEST + depends on ARCH_MXC || (COMPILE_TEST && HAS_IOMEM) depends on OF help This is the snvs powerkey driver for the Freescale i.MX application