]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: Fix prototype warnings for floppy_64.h
authorAndreas Larsson <andreas@gaisler.com>
Wed, 10 Jul 2024 09:41:52 +0000 (11:41 +0200)
committerAndreas Larsson <andreas@gaisler.com>
Thu, 11 Jul 2024 13:58:28 +0000 (15:58 +0200)
commit4c207db87d003c0dd1c59e41b355ab0a14f7a445
tree13bee8d88ab78630878b716c3d4aa87a319d2a0e
parenta7ec177ebc447d541cf25171ba3f5c36e4acc206
sparc64: Fix prototype warnings for floppy_64.h

Fix the following warnings:

arch/sparc/include/asm/floppy_64.h:200:13: warning: no previous prototype for ‘sparc_floppy_irq’
arch/sparc/include/asm/floppy_64.h:437:6: warning: no previous prototype for ‘sun_pci_fd_dma_callback’

Both sparc_floppy_irq and sun_pci_fd_dma_callback are only used within
arch/sparc/include/asm/floppy_64.h that is included only by
drivers/block/floppy.c, so declare them static.

Link: https://lore.kernel.org/r/20240710094155.458731-2-andreas@gaisler.com
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
arch/sparc/include/asm/floppy_64.h