Skip to content

Commit

Permalink
tc: Make tc_match_device() static
Browse files Browse the repository at this point in the history
Unlike its PCI counterpart, tc_match_device() was never used outside
the TURBOchannel bus code.

Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Cc: Maciej W . Rozycki <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: [email protected]
Cc: [email protected]
  • Loading branch information
geertu authored and paulburton committed Jan 13, 2020
1 parent 70eec92 commit 3d9f44e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/tc/tc-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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
Expand Down

0 comments on commit 3d9f44e

Please sign in to comment.