Commit 3d9f44ef authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Paul Burton

tc: Make tc_match_device() static

Unlike its PCI counterpart, tc_match_device() was never used outside
the TURBOchannel bus code.
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarPaul 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
parent 70eec920
...@@ -56,7 +56,7 @@ EXPORT_SYMBOL(tc_unregister_driver); ...@@ -56,7 +56,7 @@ EXPORT_SYMBOL(tc_unregister_driver);
* system is in its list of supported devices. Returns the matching * system is in its list of supported devices. Returns the matching
* tc_device_id structure or %NULL if there is no match. * tc_device_id structure or %NULL if there is no match.
*/ */
const struct tc_device_id *tc_match_device(struct tc_driver *tdrv, static const struct tc_device_id *tc_match_device(struct tc_driver *tdrv,
struct tc_dev *tdev) struct tc_dev *tdev)
{ {
const struct tc_device_id *id = tdrv->id_table; 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, ...@@ -71,7 +71,6 @@ const struct tc_device_id *tc_match_device(struct tc_driver *tdrv,
} }
return NULL; return NULL;
} }
EXPORT_SYMBOL(tc_match_device);
/** /**
* tc_bus_match - Tell if a device structure has a matching * tc_bus_match - Tell if a device structure has a matching
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment