summaryrefslogtreecommitdiffstats
path: root/drivers/zorro
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2020-01-12 17:49:49 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2020-03-09 11:12:19 +0100
commit7332bc4dc89c87a64a19dab96a41525d5630e9cf (patch)
tree3088272c07e25900e9cccaf96e14c066dbd1f779 /drivers/zorro
parent1c5b915a13068313a0809404964737bf5aedace7 (diff)
downloadlinux-7332bc4dc89c87a64a19dab96a41525d5630e9cf.tar.gz
linux-7332bc4dc89c87a64a19dab96a41525d5630e9cf.tar.bz2
linux-7332bc4dc89c87a64a19dab96a41525d5630e9cf.zip
zorro: Move zorro_bus_type to bus-private header file
zorro_bus_type was never used outside the Zorro bus code. Hence move it from the public to the bus-private header file. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/20200112164949.20196-6-geert@linux-m68k.org
Diffstat (limited to 'drivers/zorro')
-rw-r--r--drivers/zorro/zorro.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/zorro/zorro.h b/drivers/zorro/zorro.h
index ac0bab3412d9..f84df9fb4c20 100644
--- a/drivers/zorro/zorro.h
+++ b/drivers/zorro/zorro.h
@@ -1,5 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0 */
+ /*
+ * Zorro bus
+ */
+
+extern struct bus_type zorro_bus_type;
+
+
#ifdef CONFIG_ZORRO_NAMES
extern void zorro_name_device(struct zorro_dev *z);
#else