diff options
author | Christoph Hellwig <hch@lst.de> | 2022-11-22 08:22:25 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-11-30 21:46:47 +1100 |
commit | dea681c91d3cd5326f87d0a3c93079573e22ce9a (patch) | |
tree | 73b075d5e8c3091669e9751b3b2fc6de3d0c18f3 /arch/powerpc/include/asm/ps3.h | |
parent | 611c020239fde0e9e81435cd1690f566c0cdd0e0 (diff) | |
download | linux-stable-dea681c91d3cd5326f87d0a3c93079573e22ce9a.tar.gz linux-stable-dea681c91d3cd5326f87d0a3c93079573e22ce9a.tar.bz2 linux-stable-dea681c91d3cd5326f87d0a3c93079573e22ce9a.zip |
powerpc/ps3: mark ps3_system_bus_type static
ps3_system_bus_type is only used inside of system-bus.c, so remove
the external declaration and the very outdated comment next to it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221122072225.423432-1-hch@lst.de
Diffstat (limited to 'arch/powerpc/include/asm/ps3.h')
-rw-r--r-- | arch/powerpc/include/asm/ps3.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/ps3.h b/arch/powerpc/include/asm/ps3.h index 8a0d8fb35328..d503dbd7856c 100644 --- a/arch/powerpc/include/asm/ps3.h +++ b/arch/powerpc/include/asm/ps3.h @@ -425,10 +425,6 @@ static inline void *ps3_system_bus_get_drvdata( return dev_get_drvdata(&dev->core); } -/* These two need global scope for get_arch_dma_ops(). */ - -extern struct bus_type ps3_system_bus_type; - /* system manager */ struct ps3_sys_manager_ops { |