From patchwork Fri Nov 18 19:22:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erik Stromdahl X-Patchwork-Id: 9437247 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 1DCCF60238 for ; Fri, 18 Nov 2016 19:24:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1642129900 for ; Fri, 18 Nov 2016 19:24:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0AE82299D3; Fri, 18 Nov 2016 19:24:54 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CED8229900 for ; Fri, 18 Nov 2016 19:24:53 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c7omI-0006Kw-Bp; Fri, 18 Nov 2016 19:24:50 +0000 Received: from mail-qk0-x243.google.com ([2607:f8b0:400d:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c7om3-00060U-J1 for ath10k@lists.infradead.org; Fri, 18 Nov 2016 19:24:37 +0000 Received: by mail-qk0-x243.google.com with SMTP id h201so34194143qke.3 for ; Fri, 18 Nov 2016 11:24:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=P2l99/LYgvaOY2+6zMsqDDZL+aYIPVDR47GzjRX3U4E=; b=tqTWSh86C/pH1NvH8fCDHG0P8XtmjdHphx28q7cnoOz2rKydus+i+7FJp2IDwmkV57 +5rVQ5QXvPAIzTOw2Sr1Tvbhj1m+CBa/9S0+hDLEy7SQdXen0KmqXZs3/Na/W9a1q7Vd EIzt48JY2yqCM1DFmXT6zrs2BwMQljManXlAKlgud0JQag8ujUZObUKQviYl5lsdMJes +ndI2G137Zx0PrAXrF3EdZcX2lGaL+N/YqIFlaenB0qWUWCVohMC+hF9TMi0a4DzNOfI FehbNtrx7aVsFYj7qQCKg73N8dSf+IT7Zjz32GLK+RhMjjtP9Ggg3PTXvhfYoGomq3UJ ubTQ== 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 :references; bh=P2l99/LYgvaOY2+6zMsqDDZL+aYIPVDR47GzjRX3U4E=; b=eOLi1LwYGHtET1EHsq3vos0KdHVich6fPSstTyzoTvD1eDQuiXlhdNa25Rp6IbwhAi FSQMoYgL3vX9K7OHoT8hhn0dP9Cqc4oAv6yhELOS6uK2uoWJ2UPDlHQ7ThYvwLHoOCTK WfXESB5GRUVf7WRszncj7N+xAfinPUjMP36Jow42CEarwIlUOzoz8OwZx7xiRI5JMxuY Us3fI4EFbZrnZ644u3v8IuknUAh28Ta4zzikkyJq1UgmEEDFHTwQwgGbp7dlx6SZlvBQ KuP3D8xi3ncPJqTmx1trmhLSGpILUhLDl5qgvFOXiZBRKAMWSe6+sklCBazHFeVoj9pA 8BwQ== X-Gm-Message-State: AKaTC03r/2MQquPDtQLRF7MqRj/Pgh5zkNQ0l4bEjcI+XSaGhxgowbCMREjNAr8k8O2uhw== X-Received: by 10.46.1.93 with SMTP id 90mr797677ljb.30.1479497058783; Fri, 18 Nov 2016 11:24:18 -0800 (PST) Received: from erik-desktop.lan (81-233-218-8-no25.tbcn.telia.com. [81.233.218.8]) by smtp.gmail.com with ESMTPSA id 23sm2623298ljf.48.2016.11.18.11.24.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Nov 2016 11:24:18 -0800 (PST) From: Erik Stromdahl To: kvalo@qca.qualcomm.com, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Subject: [RFC v2 08/11] ath10k: Added ATH10K_BUS_SDIO enum Date: Fri, 18 Nov 2016 20:22:48 +0100 Message-Id: <1479496971-19174-9-git-send-email-erik.stromdahl@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1479496971-19174-1-git-send-email-erik.stromdahl@gmail.com> References: <1479496971-19174-1-git-send-email-erik.stromdahl@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161118_112435_885809_DC1ADD3C X-CRM114-Status: UNSURE ( 7.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Erik Stromdahl MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Erik Stromdahl --- drivers/net/wireless/ath/ath10k/core.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index e8decfa..be6cd55 100644 --- a/drivers/net/wireless/ath/ath10k/core.h +++ b/drivers/net/wireless/ath/ath10k/core.h @@ -74,6 +74,7 @@ enum ath10k_bus { ATH10K_BUS_PCI, ATH10K_BUS_AHB, + ATH10K_BUS_SDIO, }; static inline const char *ath10k_bus_str(enum ath10k_bus bus) @@ -83,6 +84,8 @@ static inline const char *ath10k_bus_str(enum ath10k_bus bus) return "pci"; case ATH10K_BUS_AHB: return "ahb"; + case ATH10K_BUS_SDIO: + return "sdio"; } return "unknown";