aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/dio.h
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 /include/linux/dio.h
parentzorro: Move zorro_bus_type to bus-private header file (diff)
downloadwireguard-linux-b3875759332e19d3b88da1e7258cdd37ac474d32.tar.xz
wireguard-linux-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 'include/linux/dio.h')
-rw-r--r--include/linux/dio.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/dio.h b/include/linux/dio.h
index 1470d1d943b4..ca07243690ed 100644
--- a/include/linux/dio.h
+++ b/include/linux/dio.h
@@ -247,7 +247,6 @@ extern int dio_create_sysfs_dev_files(struct dio_dev *);
/* New-style probing */
extern int dio_register_driver(struct dio_driver *);
extern void dio_unregister_driver(struct dio_driver *);
-extern const struct dio_device_id *dio_match_device(const struct dio_device_id *ids, const struct dio_dev *z);
static inline struct dio_driver *dio_dev_driver(const struct dio_dev *d)
{
return d->driver;