Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3062977ybl; Sun, 12 Jan 2020 08:54:42 -0800 (PST) X-Google-Smtp-Source: APXvYqw4xMc9lsFnwpegRsSQVEYCol1rwjJT2yygjv6waITVE0BNetCsLRU3CzSBpQ7dQk/Sub1X X-Received: by 2002:a05:6808:3d0:: with SMTP id o16mr9960430oie.79.1578848081901; Sun, 12 Jan 2020 08:54:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578848081; cv=none; d=google.com; s=arc-20160816; b=xnq8Hr59JJXAHlLKXVGuLt7//xK2DT+KkNCdsrk6yKlPGubbgdt9AAd5y8GZNPlsj7 KsJrPTz5VEym9L/oSsF5D/GhExlvQY4meGoGIzjY4uHt09r72lpQg7nQ4eNRwZf5dozl k9uTLXOycXcGTEZWh++deyY234aWBkydTCRI8sMn8jz61NXyzrR+iVDGwEScKq1EVlLy Js9IsgfJ9pVGHuEVkNWowLgoOic85U/BiZxw5KK6kQP89fik4mvoP1atYiIIdSpzJ41C +fbjr+u8UAU95jwsHAZ+0DSXObyEjAImxykwFtjMv4S/4s8JFrIXiYz/yPYhUGZl0mR5 y5Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=APnGu9PiBsVy9t/s70ApDAYpqxdVc3rIv/lUDFLYkvI=; b=l5D3NTrIYnQ85auaSWlWNjB292KsmaUjStJSyADQIrOW9trqXc4eFZwy0UnXxKhZA1 jNOk7XunAQZ/18CWviZyIUdxweY4g43DjrjKQe8CJsXQ1+1dp0mHJT9zclGdS6xxttyk QM4zZMyE9UZnGR57H5hEuQ5lHx+wagF1zrEyrYcYwIr5v2/xl2s5MENVzwiLg/N9NyWA Wn2fD3p5erzXjpzFRQ82cdpLdMyPw7KF3mxdxbEl0fW2zuzbcjAwz3aeIhTDaHOoqLyB skgrG4BpXOcqXJXSpJBotRKOzRCi/Lvu4+PIoyEDulk7kA4Pse14q1iZVa3igP0kJ1+i H3Zw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w9si5457062otl.138.2020.01.12.08.54.30; Sun, 12 Jan 2020 08:54:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733105AbgALQwc (ORCPT + 99 others); Sun, 12 Jan 2020 11:52:32 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:36680 "EHLO laurent.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730145AbgALQwc (ORCPT ); Sun, 12 Jan 2020 11:52:32 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 -- 2.17.1