Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp590374pxh; Tue, 9 Nov 2021 15:48:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJxMVbUcap8710B4zCJ7Dop0OXspIU3CeCTejIVw8OsmNGhMb0oxNSMAQZgh9FMGDTct0Tcp X-Received: by 2002:a05:6602:157:: with SMTP id v23mr7712445iot.75.1636501691711; Tue, 09 Nov 2021 15:48:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636501691; cv=none; d=google.com; s=arc-20160816; b=NiDoHeRI3OJiS5CMauElthMzgFXnpKup3Dle8pErq94uvzHEqSo4yAUQVxUEQCkxyc ChFP429SJhj/DlkPO+78BEbrAj0rOYd+aveYZuCDRjMx+7bLQR7afTA60ly0wnpTo3KS 2QVsVQq53moofqh9qBHg9ZK4fqjrslDFdWwoZ75uYkMM1yb2b1au8PBFEjribeFz7fxx 0M5ce88kDoQtvhAAT4lc4g6Lm2t+pgsnIm5azGJd380CteeKi0sP42EeivyQJZnVqxtB WY48yZP/kNSM/SBLXGiXib31nJPBB49KWqQbRGyPC86BVHNDOK30Q6iLLzdNRzqi4I5h E7wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=4+0583uoQfFEkC4JwQ5FmsAS4KrhoNWjebKcO4ojKSQ=; b=InydW0K2yZmW+Iu0TAyajc4ORPJjsB7WhnufsvHWOfsjUO53ttqupfnZDahr/6RP8e Oth7taxMtEStjYhPhKPNWzloWojim3MLSffavt3a5HT66QvJ+qbtAv+riW6ycZl66m6/ BApjzTPZWAkh0mxeePWDOryIMKO6suA9Obki7ubmlumXp2a3dY3HBkimp/1QuW2ZW61w q7qtJM2sA9yxz2zwwfsDwaVaZYrsWiD6WGqBTMo4ZwAdlLmJrcF1doIg+ai8bDbOEUJ8 KkDdF+lndMNBEajghPbNln2LnFGFapb+ChPIS1Wh76h9rg29msUJ7pTEkIF0mAsuVWYa zpSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m1si48489732jat.12.2021.11.09.15.47.59; Tue, 09 Nov 2021 15:48:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231953AbhKIM6Z (ORCPT + 97 others); Tue, 9 Nov 2021 07:58:25 -0500 Received: from mx24.baidu.com ([111.206.215.185]:32870 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S242254AbhKIM6Q (ORCPT ); Tue, 9 Nov 2021 07:58:16 -0500 Received: from BC-Mail-Ex23.internal.baidu.com (unknown [172.31.51.17]) by Forcepoint Email with ESMTPS id 16AADFF6BC15FB226B13; Tue, 9 Nov 2021 20:55:27 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex23.internal.baidu.com (172.31.51.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.12; Tue, 9 Nov 2021 20:55:26 +0800 Received: from LAPTOP-UKSR4ENP.internal.baidu.com (172.31.63.8) by BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 9 Nov 2021 20:55:26 +0800 From: Cai Huoqing To: CC: Sean Young , Mauro Carvalho Chehab , , Subject: [PATCH] media: rc: ir-hix5hd2: Add the dependency on HAS_IOMEM Date: Tue, 9 Nov 2021 20:55:20 +0800 Message-ID: <20211109125521.269-1-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BC-Mail-EX07.internal.baidu.com (172.31.51.47) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The helper function devm_platform_ioremap_resource() needs HAS_IOMEM enabled, so add the dependency on HAS_IOMEM. Signed-off-by: Cai Huoqing --- drivers/media/rc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig index 9506baf3c4c1..c111af820ae4 100644 --- a/drivers/media/rc/Kconfig +++ b/drivers/media/rc/Kconfig @@ -175,7 +175,7 @@ config IR_ENE config IR_HIX5HD2 tristate "Hisilicon hix5hd2 IR remote control" - depends on OF || COMPILE_TEST + depends on (OF && HAS_IOMEM) || COMPILE_TEST help Say Y here if you want to use hisilicon hix5hd2 remote control. To compile this driver as a module, choose M here: the module will be -- 2.25.1