From patchwork Mon Sep 21 07:47:19 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: 7227931 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 BAC85BEEC1 for ; Mon, 21 Sep 2015 07:47:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E1660207E6 for ; Mon, 21 Sep 2015 07:47:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1B7DB206DB for ; Mon, 21 Sep 2015 07:47:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756013AbbIUHro (ORCPT ); Mon, 21 Sep 2015 03:47:44 -0400 Received: from mail-lb0-f175.google.com ([209.85.217.175]:36634 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755863AbbIUHrn (ORCPT ); Mon, 21 Sep 2015 03:47:43 -0400 Received: by lbcao8 with SMTP id ao8so46646306lbc.3 for ; Mon, 21 Sep 2015 00:47:42 -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:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=Uc7KQzmTKzx1fukGqzV6LF66enfeNnuFt9yyzCDKs7Y=; b=xFzppkl4yfqhGpeXgacoxQIhztU/ouHLWsbNKrKnnOpGLxSVbrIQdW1Oob7GJ8pXuF 7ckSjZ0z9m0T6Vg+JnxTu1wARyhg4EKO4G4PKP+5XPZsXmtOkMxAkNnWxkLX+RgQGM/E xQ1DNMvBK9Q9RUyt/GauyVzXO3gP/wK6dcJEqNJxmAI067CBKkr+9PV+PDnXkKcV+8a6 4G3rD3+v8tvfJGOn6sjjZAx9gR8Q2QxhQ/kmd/qFVMZ0oy0O79oTV+AsE3u80wynjzQR DrQvsPWc4/VlgyOpdN+OXJq+6VFI69iHS78i2lCJPoLf3WUTpgpZtcQa4LI2a9FNVLIq wWEA== X-Received: by 10.152.180.171 with SMTP id dp11mr6907757lac.39.1442821662129; Mon, 21 Sep 2015 00:47:42 -0700 (PDT) Received: from linux-tdhb.lan ([217.153.142.106]) by smtp.gmail.com with ESMTPSA id p6sm3382726lag.36.2015.09.21.00.47.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Sep 2015 00:47:41 -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 2/3] ssb: make ssb_sdio_switch_core static Date: Mon, 21 Sep 2015 09:47:19 +0200 Message-Id: <1442821640-14582-2-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1442821640-14582-1-git-send-email-zajec5@gmail.com> References: <1442821640-14582-1-git-send-email-zajec5@gmail.com> 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 It's used locally only. Signed-off-by: Rafa? Mi?ecki Acked-by: Michael Buesch --- drivers/ssb/sdio.c | 2 +- drivers/ssb/ssb_private.h | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/ssb/sdio.c b/drivers/ssb/sdio.c index b2d36f7..2278e43 100644 --- a/drivers/ssb/sdio.c +++ b/drivers/ssb/sdio.c @@ -200,7 +200,7 @@ out: } /* host must be already claimed */ -int ssb_sdio_switch_core(struct ssb_bus *bus, struct ssb_device *dev) +static int ssb_sdio_switch_core(struct ssb_bus *bus, struct ssb_device *dev) { u8 coreidx = dev->core_index; u32 sbaddr; diff --git a/drivers/ssb/ssb_private.h b/drivers/ssb/ssb_private.h index eb507a5..1d2256e 100644 --- a/drivers/ssb/ssb_private.h +++ b/drivers/ssb/ssb_private.h @@ -132,7 +132,6 @@ extern int ssb_sdio_get_invariants(struct ssb_bus *bus, struct ssb_init_invariants *iv); extern u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset); -extern int ssb_sdio_switch_core(struct ssb_bus *bus, struct ssb_device *dev); extern int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx); extern int ssb_sdio_hardware_setup(struct ssb_bus *bus); extern void ssb_sdio_exit(struct ssb_bus *bus); @@ -144,11 +143,6 @@ static inline u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset) { return 0; } -static inline int ssb_sdio_switch_core(struct ssb_bus *bus, - struct ssb_device *dev) -{ - return 0; -} static inline int ssb_sdio_scan_switch_coreidx(struct ssb_bus *bus, u8 coreidx) { return 0;