.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | #include <linux/export.h> |
---|
2 | 3 | #include <linux/kernel.h> |
---|
3 | 4 | #include <linux/init.h> |
---|
.. | .. |
---|
46 | 47 | * Used by a driver to check whether an of_device present in the |
---|
47 | 48 | * system is in its list of supported devices. |
---|
48 | 49 | */ |
---|
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) |
---|
51 | 53 | { |
---|
52 | 54 | const struct gio_device_id *ids; |
---|
53 | 55 | |
---|
.. | .. |
---|
57 | 59 | |
---|
58 | 60 | return NULL; |
---|
59 | 61 | } |
---|
60 | | -EXPORT_SYMBOL_GPL(gio_match_device); |
---|
61 | 62 | |
---|
62 | 63 | struct gio_device *gio_dev_get(struct gio_device *dev) |
---|
63 | 64 | { |
---|