Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp440779pxu; Thu, 3 Dec 2020 04:20:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzdZrDT/uuCMDHcQA2xj05gDQ4fbmB4r4SC2AHtn5sbSLr5lxdTVL4J3H6qQVmUiQUCm3E X-Received: by 2002:a17:906:2a19:: with SMTP id j25mr2160757eje.506.1606998004710; Thu, 03 Dec 2020 04:20:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606998004; cv=none; d=google.com; s=arc-20160816; b=LDhtOuONoNe50PMqo9+u+/IUEyuWT7Wb4rTJPwRDXdIdO5qxQrJaeEgyYxKlS/SuR1 b7SMPojx1NSX5o9ORgwmi/N3Vxg5wgubtKmaK6c9U1qkHvqEAcNqlRJGFKZRX6FxA4OX /OxVWEFC/thw856PV+0PSh5hnCybi3MATRSOwMJLF73LvdAfhxeoYgrmLkY1eV3LDf8a XuvGpPQwqSrxZrv15eQ2jF1APOeA+5zUZw5bmHGxexE7kS2TCRjNaxH29g2Mxn312uxx RsEZ0uJFZU6rRe6TwdViiD3cDZ5liL9VN3pFE53MLR8h73E1Hbbm/Dt+o92+zRXFnYcO JC5A== 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=WIed10pXdwBD5cZPraidon05G3JFH6zjEQxqyT8dH2I=; b=LI2Zwmcxc4GH1osHptYcj9ZX31gPFCM6UlqQqsWkgf/fIK33kimbLJ0XaN4JwRZGoW 7pO2ox+QYYfvNRgP86mwBp8xaIOpCLv3C+YzAOQk0paQ6uIZ615k43p7iUw6bqoP+JDK 8Di1KCP+l6ME6+/iG87rZdKTCGhHOVABGI5mvkbUVa1DkYuswmfow+gVWxJLbRr3cb3H ZDFDc+QR0Ybw3qJztHie1nVrA990GCiOoiMcCS9T3OtYvyV1tn3wb26wYhtn2SG41IJj +Bmhoheu1j3BTyCoHHyCSLGircql373tk8TZo5E2vDTWSWQAmpo1jfpKUzsPeAoYnIwA M87Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u17si816747edv.131.2020.12.03.04.19.39; Thu, 03 Dec 2020 04:20:04 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727845AbgLCMPj (ORCPT + 99 others); Thu, 3 Dec 2020 07:15:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbgLCMPj (ORCPT ); Thu, 3 Dec 2020 07:15:39 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23ED3C061A4E for ; Thu, 3 Dec 2020 04:14:59 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id B9CD51F45A6A From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org Cc: Collabora Kernel ML , matthias.bgg@gmail.com, drinkcat@chromium.org, hsinyi@chromium.org, kernel test robot , Chun-Kuang Hu , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH] soc: mediatek: mmsys: Specify HAS_IOMEM dependency for MTK_MMSYS Date: Thu, 3 Dec 2020 13:14:47 +0100 Message-Id: <20201203121447.3366406-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Because mtk-mmsys uses the 'devm_platform_ioremap_resource' function, it should depend on HAS_IOMEM. Fixes: cc6576029aed ("soc: mediatek: mmsys: Use devm_platform_ioremap_resource()") Reported-by: kernel test robot Signed-off-by: Enric Balletbo i Serra --- drivers/soc/mediatek/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig index 67cef12dc585..90ba6134e861 100644 --- a/drivers/soc/mediatek/Kconfig +++ b/drivers/soc/mediatek/Kconfig @@ -59,6 +59,7 @@ config MTK_SCPSYS_PM_DOMAINS config MTK_MMSYS bool "MediaTek MMSYS Support" default ARCH_MEDIATEK + depends on HAS_IOMEM help Say yes here to add support for the MediaTek Multimedia Subsystem (MMSYS). -- 2.29.2