summaryrefslogtreecommitdiff
path: root/include/linux/zorro.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2020-01-12 17:49:45 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2020-03-09 11:12:19 +0100
commit0cfb07c5f221be5a1219f590f576c48de4efedf3 (patch)
treeea9445840cfda2ed4184cd10ba775560fe9a9eb6 /include/linux/zorro.h
parent1b43cb5fed0b162ba12655916ddfa6b1c3876d6e (diff)
zorro: Make zorro_match_device() static
Unlike its PCI counterpart, zorro_match_device() was never used outside the Zorro bus code. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/20200112164949.20196-2-geert@linux-m68k.org
Diffstat (limited to 'include/linux/zorro.h')
-rw-r--r--include/linux/zorro.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/zorro.h b/include/linux/zorro.h
index 63fbba0740c2..cb72515b0ac1 100644
--- a/include/linux/zorro.h
+++ b/include/linux/zorro.h
@@ -70,7 +70,6 @@ struct zorro_driver {
/* New-style probing */
extern int zorro_register_driver(struct zorro_driver *);
extern void zorro_unregister_driver(struct zorro_driver *);
-extern const struct zorro_device_id *zorro_match_device(const struct zorro_device_id *ids, const struct zorro_dev *z);
static inline struct zorro_driver *zorro_dev_driver(const struct zorro_dev *z)
{
return z->driver;