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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user