From patchwork Tue May 29 18:26:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 137207 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp4380932lji; Tue, 29 May 2018 11:27:05 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrqlaHGmIlu8z8F4pvRTiQXrWCd24rTotRBrWBEjDaUjQQYA2n3fBRfhw8DI/Lh9oCAGNqe X-Received: by 2002:a62:449c:: with SMTP id m28-v6mr18362544pfi.145.1527618425381; Tue, 29 May 2018 11:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527618425; cv=none; d=google.com; s=arc-20160816; b=fDo4+psgqqJrMnIbYgfeyhHb7y3LMpdc6e2KdLbHrxm1Jk6OoU6aqTZKLY0G2MYA2W 8Yf4lufZMc0VUZs5kNkEMoEE/K2jZk4s8Wl4lMImPVFIZ7FmYHMZRQ3yJRBlT9j1lxrB TMJpWS9I2baH572FL4y+07VtbLi7Ri0I5mCGVM5HOIeqGaTnY9TS4gRaqrCl53j5Dedj mvHpRx55dW+1lgiVl7qpmG663z0omzZJaws0cSCXhGyqtXQmxbqS/BC8rtNo28slYncB lK3Sz613gsE/QV14sZKKMOm7I0o2bZvLHf1GYCZj6j/iGsf+NrbGFVOXD0yBKTyyVZc1 /mfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=rETctRvQtj1S7b5KvlFnnnfz5Df4UrxkYBB12NkbC3A=; b=O9MWnA/E/2Gw8v9tk11p6NOsgcTnDgK1789METQ5xCpeSaGesnQx6Ffk+YNZjwFMmZ d2YAxbEpUHpwsLpH2DQJxz5rJxF8jHLzTnaPuWic3V0/DvsucQEmbTLVYyCY6qOKdkEt FgnKFFdaYki0DTc68+Xu7nEMZo1p+I3+5QN4xWhubvPgQkaGo0eaPc4XF1nITPoI9zsA Y3sIZieI7OYg7EFhh3b3EZyRnyLveemZdxsPGJkZixpxlcURYsqmAwxpVDqZOTm2Kq5f ZvAs6pzRDuUXkN5KAtkEGzTnPtDzPXhxbFhTmkETWKwXWoPb1EFO0gjjk1wsDoi+xKts 9HJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S5VaI6XF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m12-v6si31818338pls.498.2018.05.29.11.27.05; Tue, 29 May 2018 11:27:05 -0700 (PDT) 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=@linaro.org header.s=google header.b=S5VaI6XF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966140AbeE2S1D (ORCPT + 30 others); Tue, 29 May 2018 14:27:03 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36493 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965993AbeE2S1B (ORCPT ); Tue, 29 May 2018 14:27:01 -0400 Received: by mail-wm0-f68.google.com with SMTP id v131-v6so23881002wma.1 for ; Tue, 29 May 2018 11:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rETctRvQtj1S7b5KvlFnnnfz5Df4UrxkYBB12NkbC3A=; b=S5VaI6XFcJOEBRo390oYKGpqOvQ6AFJlElpOGCNXi9D09wAbKvOg9HV1OwVPSgc543 YAJbwRrJ/a9ASY6Bl+TW/pNWa9FaaoXxdWPVoq4fTv+dbI86IBuMaAHcBfc6nhZixE3m hC//F8Pb+FwUcZQ0lwt1sxQhPbPxwB+v93qak= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=rETctRvQtj1S7b5KvlFnnnfz5Df4UrxkYBB12NkbC3A=; b=B4JLa6tHQfkzgGIXWXgkAnyFZhoL00Brsig9ep8wWTzwp8BcimyhXEJfl96AG9hDIy DkeJJaKb+bBz0BtESHRGQuznmjtSVSYwv5UNHrhW1ZQCWgJjcXf5mTal7uB2R88NI4UF xJaDQMGxaWhsRNxZ/b/SEQsRYnHCnfO3fJnseHIA3R17qHK441788qeXgNmtpyv19Cma 7oVrmDikiBvHWr+YEC+f3rrncYfyloUNQ8qXfaaH1rqxKlwNc4ENIxp4n4cyTfhndEMF Qf3Y+5kCxaPAeMLGLO3Ft1soqs6T8OTMAuNT8B9SMDzYYRo58LtSnuIikye/pkXJ9twh J6hw== X-Gm-Message-State: ALKqPwdTCaIVVBYrgfh0Hn7BWt4tLCCaiapAYrrlsp7YmYmdY9TMzhrt TOKZUDvbOVXmHqyoeGjK3XPC/Q== X-Received: by 2002:a1c:bfce:: with SMTP id o75-v6mr9512wmi.122.1527618419761; Tue, 29 May 2018 11:26:59 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:c07c:1556:b860:2283]) by smtp.gmail.com with ESMTPSA id 135-v6sm27027893wmx.21.2018.05.29.11.26.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 May 2018 11:26:59 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Chunyan Zhang Subject: [PATCH 1/7] clocksource/drivers/sprd: Fix Kconfig dependency Date: Tue, 29 May 2018 20:26:36 +0200 Message-Id: <1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1274a543-02dd-bbf0-c690-b08c788d9e91@linaro.org> References: <1274a543-02dd-bbf0-c690-b08c788d9e91@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chunyan Zhang SPRD arch doesn't select SPRD_TIMER, so this config would not appear even if ARCH_SPRD is set but COMPILE_TEST not. Fix the dependency of this config with SPRD arch, and set a default value for it, also leave other choices for EXPERT. Signed-off-by: Chunyan Zhang Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 8e8a097..dec0dd8 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -450,8 +450,10 @@ config MTK_TIMER Support for Mediatek timer driver. config SPRD_TIMER - bool "Spreadtrum timer driver" if COMPILE_TEST + bool "Spreadtrum timer driver" if EXPERT depends on HAS_IOMEM + depends on (ARCH_SPRD || COMPILE_TEST) + default ARCH_SPRD select TIMER_OF help Enables support for the Spreadtrum timer driver.