Skip to content

Commit

Permalink
zorro: Move zorro_bus_type to bus-private header file
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Geert Uytterhoeven committed Mar 9, 2020
1 parent 1c5b915 commit 7332bc4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 7 additions & 0 deletions drivers/zorro/zorro.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 0 additions & 7 deletions include/linux/zorro.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 7332bc4

Please sign in to comment.