From patchwork Tue Mar 6 11:20:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 130781 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp3813954lja; Tue, 6 Mar 2018 03:21:23 -0800 (PST) X-Google-Smtp-Source: AG47ELuXVCKwW1dl+am08ubdjOVHXitlt+wnMnInlIFKVYMjiX6Cmgu2v6qPziCjnwhRlZ/pWU7u X-Received: by 2002:a17:902:8289:: with SMTP id y9-v6mr16405136pln.242.1520335283714; Tue, 06 Mar 2018 03:21:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520335283; cv=none; d=google.com; s=arc-20160816; b=oZnHzT26S0mRx/5wK++gMYqN3Tupw0z9Kc/RLKcioKV3KhebKhOVkbYtiUknTGxEak gjrlc3g/3FrW0z6aJFBU+mZWKw+K7gw7yYWZLs/vBVxUTG3FqiZAojJ318F47mx1hphz zDJop5Ev5Rr4JyndSFWCAvUcP5LUBcxh1bHsNhFscdudilmDKfG9veckZV6GksqrEh5J jobJZrTEVBUV5zIfvTtxpDIW2BTBZKccXhePIfSLuXO6/7Eyc7cI94Ytw/7WvIC9ErP4 PZ9b/x2RolHSPC9NkMhD8O7OY98AFxACrcL4VzhSgWDb/9zVvHPJ6omRnxrEvt/zkV0t EgLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=KbK9njY/bukLn/t9e7scI3yOKLzOMUdmIYPKXMTTkEU=; b=s63iz6Dru7u7rGsKV8Dl2z1WgnB6dG8h3Cf4roSHmTZTtqQlLliT89XN5f801tRHsl oWE0gBGG6DYMmR5LxMTh2q+AUwE/hO3kV4I1SxjmKdJGfyn09gHshpPQx6+Osv9Iky8C FMnYzebB7aZwBw7SoXW2UoqAMjHB1SBcGljINqIjReix8DBSAu+TF3lpHyN4hIEDfAq6 AwFsNsdV572WRX5t6EYkbaL4kld1U1A6DLb0sTIOxbMIKN3kU87WsxTCnXGDEndQmLN5 NppdxFmuqJJxD0dfSapsHqlUxb76wHtB3O6ODZNrFTihr22r6Qpjc62SsOP7qTzhRyav NqYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=zsx666ZO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r62si9773676pgr.77.2018.03.06.03.21.23; Tue, 06 Mar 2018 03:21:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=zsx666ZO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753393AbeCFLVV (ORCPT + 28 others); Tue, 6 Mar 2018 06:21:21 -0500 Received: from conuserg-07.nifty.com ([210.131.2.74]:57756 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750838AbeCFLVT (ORCPT ); Tue, 6 Mar 2018 06:21:19 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id w26BKcZA009297; Tue, 6 Mar 2018 20:20:38 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com w26BKcZA009297 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1520335238; bh=KbK9njY/bukLn/t9e7scI3yOKLzOMUdmIYPKXMTTkEU=; h=From:To:Cc:Subject:Date:From; b=zsx666ZOYKVWjbaEeDkfH7kIcziau3CS6h5ezhxVGfCc6/qhwpBFvrjlLSZHruIBd EIvBHM1h67zhqroBe46C+t+hfx4gRINniTiwwH1NWqymPIRRq3I22iwCxBlEGZAETc N+9iROr+qW9iT+25S+5Ekj4lcYp6UPQXfULwh7JSFRO/I6o9Ch4ciY4MRNa3yApyUq EkI2M43FP5GpMiDoaBzQEeKp4AaDHNMwfmkdRxJvgHglI98KUCrJWtDXD2uhWP17it SPn7BCs6EG9PlstI0uBfIWYTcCVdr1x4CBL0bj5EwgBycKhSJhB1FZOVcMJT0Fy0Ki ClbX2JDHURSjw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Daniel Lezcano , Thomas Gleixner Cc: Arnd Bergmann , Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] clocksource: atmel-st: add 'depends on HAS_IOMEM' to fix unmet dependency Date: Tue, 6 Mar 2018 20:20:33 +0900 Message-Id: <1520335233-11277-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This config select's MFD_SYSCON, but does not depend on HAS_IOMEM. Compile testing on architecture without HAS_IOMEM causes "unmet direct dependencies" in Kconfig phase. Detected by "make ARCH=score allyesconfig". Signed-off-by: Masahiro Yamada --- Arnd Bergmann and I discussed how to fix unmet dependency of MFD_SYSCON. https://lkml.org/lkml/2018/2/27/284 We agreed to add 'depends on HAS_IOMEM' to drivers causing unmet dependency. drivers/clocksource/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index b3b4ed9..d2e5382 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -386,6 +386,7 @@ config ATMEL_PIT config ATMEL_ST bool "Atmel ST timer support" if COMPILE_TEST + depends on HAS_IOMEM select TIMER_OF select MFD_SYSCON help