author: Linus Torvalds <torvalds@linux-foundation.org> 2020-01-31 11:28:31 -0800
committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-01-31 11:28:31 -0800
commit: c5951e7c8ee5cb04b8b41c32bf567b90117a2124
parent: b7e573bb4a7a511741f8942b1fb03cfe602ee57f
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 3 deletions
diff --git a/drivers/tc/tc-driver.c b/drivers/tc/tc-driver.c
index 16b5bae63c74..d45f2c1ff341 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