hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/mips/sgi-ip22/ip22-gio.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/export.h>
23 #include <linux/kernel.h>
34 #include <linux/init.h>
....@@ -46,8 +47,9 @@
4647 * Used by a driver to check whether an of_device present in the
4748 * system is in its list of supported devices.
4849 */
49
-const struct gio_device_id *gio_match_device(const struct gio_device_id *match,
50
- const struct gio_device *dev)
50
+static const struct gio_device_id *
51
+gio_match_device(const struct gio_device_id *match,
52
+ const struct gio_device *dev)
5153 {
5254 const struct gio_device_id *ids;
5355
....@@ -57,7 +59,6 @@
5759
5860 return NULL;
5961 }
60
-EXPORT_SYMBOL_GPL(gio_match_device);
6162
6263 struct gio_device *gio_dev_get(struct gio_device *dev)
6364 {