From patchwork Wed Mar 26 08:22:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 3892371 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 95DD9BF540 for ; Wed, 26 Mar 2014 08:22:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9998C20219 for ; Wed, 26 Mar 2014 08:22:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CB52D201BF for ; Wed, 26 Mar 2014 08:22:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751103AbaCZIW5 (ORCPT ); Wed, 26 Mar 2014 04:22:57 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:64525 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750991AbaCZIWz (ORCPT ); Wed, 26 Mar 2014 04:22:55 -0400 Received: by mail-pa0-f45.google.com with SMTP id kl14so1609594pab.32 for ; Wed, 26 Mar 2014 01:22:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version:content-transfer-encoding; bh=ZE36euk7n7Rz0/9uRU5Ol0zeX1od8SR/D1dBZifdy00=; b=Axij6yoXizHWPbsJUJT0tNdOVtI/WqNUDp9pCLMEbuDOTmtYfNT4LhFl8mpURfs/xR rWcL2UwSRP+etRadSdSc8U2Hdt0uljtlwwXAUIcUTiFRpduCo/CIh/G98IvqV8cYqYuC KsS9BR4NrbgeUYiFwrGdHzaABIS6Swsa5l0knvdjvBnjFVIvuEY9xilSHm89x/YLuy3b +0ihyvqDZUbIiTmqqEWoS9TE2DVbn9tJMbv0msWVL3qNNZIEs7NVAiB+U0GNfbrbnklo 0Nt53JhZet4mI4ZnX8ASqpjYxEPEM5DUOxEV7XSm+cShIl5m4+MfTYR3qql81YXvla7+ UkUA== X-Gm-Message-State: ALoCoQmZHuGSCIiMMGafryWgmuYsm7JgUq16uPWLdvwyGj3P6OHcC7eS20L54gT+oEsbSHxoZDtm X-Received: by 10.68.52.132 with SMTP id t4mr84385125pbo.102.1395822175337; Wed, 26 Mar 2014 01:22:55 -0700 (PDT) Received: from [192.168.1.102] (111-240-40-195.dynamic.hinet.net. [111.240.40.195]) by mx.google.com with ESMTPSA id vf7sm54880937pbc.5.2014.03.26.01.22.53 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 26 Mar 2014 01:22:54 -0700 (PDT) Message-ID: <1395822170.7555.0.camel@phoenix> Subject: [PATCH] spi: clps711x: Enable driver compilation with COMPILE_TEST From: Axel Lin To: Mark Brown Cc: Alexander Shiyan , linux-spi@vger.kernel.org Date: Wed, 26 Mar 2014 16:22:50 +0800 X-Mailer: Evolution 3.8.4-0ubuntu1 Mime-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This helps increasing build testing coverage. This driver uses SYSCON APIs, so it needs to depend on MFD_SYSCON. Signed-off-by: Axel Lin --- drivers/spi/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 1ee6a54..78ca395 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -150,7 +150,8 @@ config SPI_BUTTERFLY config SPI_CLPS711X tristate "CLPS711X host SPI controller" - depends on ARCH_CLPS711X + depends on MFD_SYSCON + depends on ARCH_CLPS711X || COMPILE_TEST help This enables dedicated general purpose SPI/Microwire1-compatible master mode interface (SSI1) for CLPS711X-based CPUs.