Skip to content

Commit 7332bc4

Browse files
committed
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 1c5b915 commit 7332bc4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

drivers/zorro/zorro.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
22

3+
/*
4+
* Zorro bus
5+
*/
6+
7+
extern struct bus_type zorro_bus_type;
8+
9+
310
#ifdef CONFIG_ZORRO_NAMES
411
extern void zorro_name_device(struct zorro_dev *z);
512
#else

include/linux/zorro.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ struct zorro_dev {
4040
#define to_zorro_dev(n) container_of(n, struct zorro_dev, dev)
4141

4242

43-
/*
44-
* Zorro bus
45-
*/
46-
47-
extern struct bus_type zorro_bus_type;
48-
49-
5043
/*
5144
* Zorro device drivers
5245
*/

0 commit comments

Comments
 (0)