Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tc: Make tc_match_device() static

Unlike its PCI counterpart, tc_match_device() was never used outside
the TURBOchannel bus code.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Maciej W . Rozycki <macro@linux-mips.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org

authored by

Geert Uytterhoeven and committed by
Paul Burton
3d9f44ef 70eec920

+2 -3
+2 -3
drivers/tc/tc-driver.c
··· 56 56 * system is in its list of supported devices. Returns the matching 57 57 * tc_device_id structure or %NULL if there is no match. 58 58 */ 59 - const struct tc_device_id *tc_match_device(struct tc_driver *tdrv, 60 - struct tc_dev *tdev) 59 + static const struct tc_device_id *tc_match_device(struct tc_driver *tdrv, 60 + struct tc_dev *tdev) 61 61 { 62 62 const struct tc_device_id *id = tdrv->id_table; 63 63 ··· 71 71 } 72 72 return NULL; 73 73 } 74 - EXPORT_SYMBOL(tc_match_device); 75 74 76 75 /** 77 76 * tc_bus_match - Tell if a device structure has a matching