Received: by 10.192.165.148 with SMTP id m20csp2847001imm; Mon, 7 May 2018 02:08:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrAZAb7nu/IafrY+v9+gLOpes88OtvnPPhTx+ACYJ3todmdll2GRqCAEqG3ecHDmsmmLHRJ X-Received: by 10.98.1.5 with SMTP id 5mr35976906pfb.1.1525684125417; Mon, 07 May 2018 02:08:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525684125; cv=none; d=google.com; s=arc-20160816; b=tBqp5naGaR1AOmNdhQ6Lc5tIwlEWDQikaSMeqCA+7UFuUaJkR62vd9XX9o2hEu9iAL im+POCqY8OG4vcqQ7fWYjsgkkDA7pLmW8Tsk5XyOg5PvGSeb+BNGhpUeMsG89PQfMAUV C2wT78Fp0feO0yT5oj7uXO1wJ7UKancXv8+YOGSODSjHxC8/rQDpR1LFLZCOcH4xRXyj R0OnVB60miAzZqg82GkMLa+rXGKTZeUjVKzwRTHY6otk4O4wDf+T57+S6Sb4YFzY9gP0 abiy5ZBdScIxQ0kx5+CS2vIqqwpDZS2oUy1rw+hLcerae0x3sqI5tXAUpshZrzwBySwo Su0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=a96X3S50Eo5PZGLTyDN0N6HjzpYpyzjM+58GvEJDOSs=; b=nLRNY85WpyaptX6O8FSd4vaEKGR1NOOu4a4HUdvf+umHWeaoHfjX6/+Yce7oORkzTI X6rL7kLJgAlWESTfxNkXpVHcWPA6Hla9qO/g0xCY1TYUmhHY34BoTUe4NwRIXHELmcD+ aln/tA0/d1ppzVPQ4HTIz9IwUu2TyRu5UmgA3KXLFWXPf99owYEQc/bbPZW08NJt3AGn RysJNtEURz3zbkX2cxL7yDgqKdJWCjlJssSuBgnuUTtIXDivAr9imdDdHRbG5hiaXGw5 WST3WMK9RbGcFXY7gNxIJP3fz7kbXYJtDvp2XNpGop/3t9hnXFw5ZAvmZ4mCmPHGPDTj iXxQ== ARC-Authentication-Results: i=1; mx.google.com; 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 p91-v6si21419454plb.457.2018.05.07.02.08.31; Mon, 07 May 2018 02:08:45 -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; 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 S1752086AbeEGJIT (ORCPT + 99 others); Mon, 7 May 2018 05:08:19 -0400 Received: from sci-ig2.spreadtrum.com ([222.66.158.135]:25669 "EHLO SHSQR01.spreadtrum.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751940AbeEGJIS (ORCPT ); Mon, 7 May 2018 05:08:18 -0400 Received: from ig2.spreadtrum.com (bjmbx01.spreadtrum.com [10.0.64.7]) by SHSQR01.spreadtrum.com with ESMTP id w4794eXg093150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 May 2018 17:04:40 +0800 (CST) (envelope-from Chunyan.Zhang@unisoc.com) Received: from localhost (10.0.93.106) by BJMBX01.spreadtrum.com (10.0.64.7) with Microsoft SMTP Server (TLS) id 15.0.847.32; Mon, 7 May 2018 17:05:05 +0800 From: Chunyan Zhang To: Daniel Lezcano CC: , Baolin Wang , Orson Zhai , Chunyan Zhang , Chunyan Zhang Subject: [PATCH V2] clocksource/drivers/sprd: Fix Kconfig dependency Date: Mon, 7 May 2018 17:04:47 +0800 Message-ID: <1525683887-17584-1-git-send-email-chunyan.zhang@spreadtrum.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.0.93.106] X-ClientProxiedBy: SHCAS01.spreadtrum.com (10.0.1.201) To BJMBX01.spreadtrum.com (10.0.64.7) X-MAIL: SHSQR01.spreadtrum.com w4794eXg093150 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/clocksource/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- 2.7.4