]> git.ipfire.org Git - people/ms/linux.git/commitdiff
zorro: Move zorro_bus_type to bus-private header file
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 12 Jan 2020 16:49:49 +0000 (17:49 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 9 Mar 2020 10:12:19 +0000 (11:12 +0100)
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
drivers/zorro/zorro.h
include/linux/zorro.h

index ac0bab3412d90ddb934f88e995c1664f22183c36..f84df9fb4c200ec3d8c87924fd7e2b96ac003d25 100644 (file)
@@ -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
index 22f3f80fbcb5afe6e87b55b3b2652bd15f6cbf26..e2e4de188d84a6d92b9427c9f45ee12a149f7234 100644 (file)
@@ -40,13 +40,6 @@ struct zorro_dev {
 #define        to_zorro_dev(n) container_of(n, struct zorro_dev, dev)
 
 
-    /*
-     *  Zorro bus
-     */
-
-extern struct bus_type zorro_bus_type;
-
-
     /*
      *  Zorro device drivers
      */