From patchwork Mon Sep 21 07:55:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 7227961 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 24967BEEC1 for ; Mon, 21 Sep 2015 07:55:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4A343207ED for ; Mon, 21 Sep 2015 07:55:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5B29F207E2 for ; Mon, 21 Sep 2015 07:55:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756181AbbIUHzd (ORCPT ); Mon, 21 Sep 2015 03:55:33 -0400 Received: from mail-la0-f47.google.com ([209.85.215.47]:34222 "EHLO mail-la0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755986AbbIUHzc (ORCPT ); Mon, 21 Sep 2015 03:55:32 -0400 Received: by lahg1 with SMTP id g1so63026081lah.1 for ; Mon, 21 Sep 2015 00:55:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=TEe55EzVqgVskbWHqi4uvFXVJP/vsR8Ta8AVYDxzrv8=; b=H8m7OycB8gudFHYesCi4Lvb9EjgSWYUqlXWmNbu3eAlcPEuEh+suAnOTabCKSFCzG5 yKPgzutxve3FhHL1nqgGtOxzeu+pINULjwvCZZk9KiO2YkM9GOS7jEG1rwhl32fo6DZu F8alDuQsaYbVweYeZLdoh6w8ESWviBKe/IXl0xxzbSk/NE5sg9X3fqEZTwmww+3OBGAF lveIs67eMPCWyufzPHI0uqE/+IfNOBOZBN+cgYAcgkFryze0+XzJa2JOmL/sHSfJbt/s D1Clk9W9rXDHI1MboGXxCtG/vQ85refxLLOz/uNMHCJsBkJ4i98leErLywhfYxm2cRfA 6nmQ== X-Received: by 10.112.161.201 with SMTP id xu9mr3742497lbb.10.1442822131261; Mon, 21 Sep 2015 00:55:31 -0700 (PDT) Received: from linux-tdhb.lan ([217.153.142.106]) by smtp.gmail.com with ESMTPSA id wv7sm3352799lbb.45.2015.09.21.00.55.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Sep 2015 00:55:30 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Kalle Valo , linux-wireless@vger.kernel.org, =?UTF-8?q?Michael=20B=C3=BCsch?= Cc: Hauke Mehrtens , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Subject: [PATCH] ssb: make ssb_pcmcia_switch_core static Date: Mon, 21 Sep 2015 09:55:26 +0200 Message-Id: <1442822126-23372-1-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Signed-off-by: Rafa? Mi?ecki Acked-by: Michael Buesch --- drivers/ssb/pcmcia.c | 3 +-- drivers/ssb/ssb_private.h | 7 ------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/ssb/pcmcia.c b/drivers/ssb/pcmcia.c index b413e01..f03422b 100644 --- a/drivers/ssb/pcmcia.c +++ b/drivers/ssb/pcmcia.c @@ -147,8 +147,7 @@ error: return err; } -int ssb_pcmcia_switch_core(struct ssb_bus *bus, - struct ssb_device *dev) +static int ssb_pcmcia_switch_core(struct ssb_bus *bus, struct ssb_device *dev) { int err; diff --git a/drivers/ssb/ssb_private.h b/drivers/ssb/ssb_private.h index 426c805..8a2ebc8 100644 --- a/drivers/ssb/ssb_private.h +++ b/drivers/ssb/ssb_private.h @@ -85,8 +85,6 @@ static inline int ssb_pci_init(struct ssb_bus *bus) /* pcmcia.c */ #ifdef CONFIG_SSB_PCMCIAHOST -extern int ssb_pcmcia_switch_core(struct ssb_bus *bus, - struct ssb_device *dev); extern int ssb_pcmcia_switch_coreidx(struct ssb_bus *bus, u8 coreidx); extern int ssb_pcmcia_switch_segment(struct ssb_bus *bus, @@ -98,11 +96,6 @@ extern void ssb_pcmcia_exit(struct ssb_bus *bus); extern int ssb_pcmcia_init(struct ssb_bus *bus); extern const struct ssb_bus_ops ssb_pcmcia_ops; #else /* CONFIG_SSB_PCMCIAHOST */ -static inline int ssb_pcmcia_switch_core(struct ssb_bus *bus, - struct ssb_device *dev) -{ - return 0; -} static inline int ssb_pcmcia_switch_coreidx(struct ssb_bus *bus, u8 coreidx) {