Skip to content

Commit 88813f0

Browse files
committed
ARM: versatile: mark mmc_status() static
mmc_status() is only used in the file it is defined in, and no longer has an 'extern' declaration: arch/arm/mach-versatile/versatile.c:56:14: error: no previous prototype for 'mmc_status' Fixes: 16956fe ("ARM: versatile: switch to DT only booting and remove legacy code") Link: https://lore.kernel.org/r/20230516153109.514251-14-arnd@kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 5e40c79 commit 88813f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm/mach-versatile/versatile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
static void __iomem *versatile_sys_base;
5555

56-
unsigned int mmc_status(struct device *dev)
56+
static unsigned int mmc_status(struct device *dev)
5757
{
5858
struct amba_device *adev = container_of(dev, struct amba_device, dev);
5959
u32 mask;

0 commit comments

Comments
 (0)