summaryrefslogtreecommitdiff
path: root/drivers/dio
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2020-01-12 17:56:11 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2020-03-09 11:12:19 +0100
commitb3875759332e19d3b88da1e7258cdd37ac474d32 (patch)
tree9a70cef796f58d1e626e4d838fa282b59362f3f2 /drivers/dio
parent7332bc4dc89c87a64a19dab96a41525d5630e9cf (diff)
downloadlwn-b3875759332e19d3b88da1e7258cdd37ac474d32.tar.gz
lwn-b3875759332e19d3b88da1e7258cdd37ac474d32.zip
dio: Make dio_match_device() static
Unlike its PCI counterpart, dio_match_device() was never used outside the DIO bus code. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/20200112165613.20960-2-geert@linux-m68k.org
Diffstat (limited to 'drivers/dio')
-rw-r--r--drivers/dio/dio-driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dio/dio-driver.c b/drivers/dio/dio-driver.c
index a7b174ef4c85..daf87e214a77 100644
--- a/drivers/dio/dio-driver.c
+++ b/drivers/dio/dio-driver.c
@@ -25,7 +25,7 @@
* dio_device_id structure or %NULL if there is no match.
*/
-const struct dio_device_id *
+static const struct dio_device_id *
dio_match_device(const struct dio_device_id *ids,
const struct dio_dev *d)
{
@@ -137,7 +137,6 @@ static int __init dio_driver_init(void)
postcore_initcall(dio_driver_init);
-EXPORT_SYMBOL(dio_match_device);
EXPORT_SYMBOL(dio_register_driver);
EXPORT_SYMBOL(dio_unregister_driver);
EXPORT_SYMBOL(dio_bus_type);