From patchwork Wed Nov 9 18:02:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 9419925 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9C9BB60512 for ; Wed, 9 Nov 2016 18:03:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 92D8B29309 for ; Wed, 9 Nov 2016 18:03:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 872E629366; Wed, 9 Nov 2016 18:03:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F6E929309 for ; Wed, 9 Nov 2016 18:03:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754213AbcKISC4 (ORCPT ); Wed, 9 Nov 2016 13:02:56 -0500 Received: from mail-pf0-f179.google.com ([209.85.192.179]:34592 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752647AbcKISCz (ORCPT ); Wed, 9 Nov 2016 13:02:55 -0500 Received: by mail-pf0-f179.google.com with SMTP id n85so130379214pfi.1 for ; Wed, 09 Nov 2016 10:02:54 -0800 (PST) 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; bh=d5mbJ8e5j13ksNgLRJVKAfYDzZ3h1uhs0/8NQ+x9MdI=; b=Yh3QVFzbxahcKft3EYtrt64rxZZkJXPRoyPd3N+B9Xx1wgd7c/cVUPTJ68cRd4U9SA iD9MunqPnhPnTl5Oj8pvCqIPtvKNDkXZyadYmjSjOb6VqmMePVfsd0IYC5QBBzuK3fz1 PcRMYaihB8r2wMoGBb6UP24eiq4ouhriE4H9Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to; bh=d5mbJ8e5j13ksNgLRJVKAfYDzZ3h1uhs0/8NQ+x9MdI=; b=h8JgpuiNVjAM3p52Peqlkm3YnjxRrm6XIkmuC0iUAcyL8gPJDWM1jnC4LX8rNOAv13 QHaLrSkiqdq6BiJ7T3toNZTIhm/zVBBqbdvTZ4Q0uEvZz7tQNbs+XbjiulEdlkZPViAQ l/9FJ+gWCgKrh9fP/DoY9gRjhiCKiRpfRyROT/EJ1A/Ed883decLEz3iimM/gio8XQYD dC5/CKYwKzYEeDOgo8PU/nvb9e+icON+zbQtMw+qzGsZYb/YAFTv6PN0B3URi/hrp29c oTuyMhcGkIC4F8U5mUmd7o97hUFj0g31VXiebh2zWDBhhThq2nggX5n3FZf+xRvnpcd/ YGuA== X-Gm-Message-State: ABUngvdoE9cQF8OpsoIgtMrjD8gBEjgnXie6zS2/m3vTmjD72lgpoY7uM26Qxu+4ji/1ZRLr X-Received: by 10.99.120.75 with SMTP id t72mr28068875pgc.17.1478714574299; Wed, 09 Nov 2016 10:02:54 -0800 (PST) Received: from localhost.localdomain (ip68-111-223-48.sd.sd.cox.net. [68.111.223.48]) by smtp.gmail.com with ESMTPSA id s8sm831884pfj.45.2016.11.09.10.02.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Nov 2016 10:02:53 -0800 (PST) From: Bjorn Andersson To: Andy Gross , Eugene Krasnikov , Kalle Valo Cc: wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] wcn36xx: Correct Kconfig dependency Date: Wed, 9 Nov 2016 10:02:50 -0800 Message-Id: <1478714571-4841-1-git-send-email-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <201611092150.OxpAuHow%fengguang.wu@intel.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In the case SMD or WCNSS_CTRL are compiled as modules, wcn36xx must be compiled as module as well, so we need to mention this dependency. But we still want allow the driver to be compiled in case either of those are =n, for compile testing reasons. Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/wcn36xx/Kconfig b/drivers/net/wireless/ath/wcn36xx/Kconfig index 591ebaea8265..4b83e87f0b94 100644 --- a/drivers/net/wireless/ath/wcn36xx/Kconfig +++ b/drivers/net/wireless/ath/wcn36xx/Kconfig @@ -1,6 +1,8 @@ config WCN36XX tristate "Qualcomm Atheros WCN3660/3680 support" depends on MAC80211 && HAS_DMA + depends on QCOM_WCNSS_CTRL || QCOM_WCNSS_CTRL=n + depends on QCOM_SMD || QCOM_SMD=n ---help--- This module adds support for wireless adapters based on Qualcomm Atheros WCN3660 and WCN3680 mobile chipsets.