From patchwork Sun Jan 12 16:52:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 11329257 X-Patchwork-Delegate: paulburton@kernel.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D784F921 for ; Sun, 12 Jan 2020 16:52:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BF8652080D for ; Sun, 12 Jan 2020 16:52:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730145AbgALQwd (ORCPT ); Sun, 12 Jan 2020 11:52:33 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:36682 "EHLO laurent.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730190AbgALQwd (ORCPT ); Sun, 12 Jan 2020 11:52:33 -0500 Received: from ramsan ([84.195.182.253]) by laurent.telenet-ops.be with bizsmtp id pUsW2100Z5USYZQ01UsW5n; Sun, 12 Jan 2020 17:52:30 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1iqgTW-00082F-Bh; Sun, 12 Jan 2020 17:52:30 +0100 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1iqgTW-0005MS-9U; Sun, 12 Jan 2020 17:52:30 +0100 From: Geert Uytterhoeven To: "Maciej W . Rozycki" , Ralf Baechle Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] tc: Make tc_match_device() static Date: Sun, 12 Jan 2020 17:52:29 +0100 Message-Id: <20200112165229.20567-1-geert@linux-m68k.org> X-Mailer: git-send-email 2.17.1 Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Unlike its PCI counterpart, tc_match_device() was never used outside the TURBOchannel bus code. Signed-off-by: Geert Uytterhoeven --- drivers/tc/tc-driver.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/tc/tc-driver.c b/drivers/tc/tc-driver.c index 16b5bae63c749019..d45f2c1ff34145b0 100644 --- a/drivers/tc/tc-driver.c +++ b/drivers/tc/tc-driver.c @@ -56,8 +56,8 @@ EXPORT_SYMBOL(tc_unregister_driver); * system is in its list of supported devices. Returns the matching * tc_device_id structure or %NULL if there is no match. */ -const struct tc_device_id *tc_match_device(struct tc_driver *tdrv, - struct tc_dev *tdev) +static const struct tc_device_id *tc_match_device(struct tc_driver *tdrv, + struct tc_dev *tdev) { const struct tc_device_id *id = tdrv->id_table; @@ -71,7 +71,6 @@ const struct tc_device_id *tc_match_device(struct tc_driver *tdrv, } return NULL; } -EXPORT_SYMBOL(tc_match_device); /** * tc_bus_match - Tell if a device structure has a matching