diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-05-16 18:31:09 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-05-26 14:33:05 +0300 |
commit | 88813f05b834756dfcadb7fbd7bf8f21e69b7811 (patch) | |
tree | 3591a3234517c5cc14529547ffff06d72cd5c1f9 /arch | |
parent | 5e40c79a513bff9b9f5c00d469de31d7318e3252 (diff) | |
download | linux-88813f05b834756dfcadb7fbd7bf8f21e69b7811.tar.xz |
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: 16956fed35fe ("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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-versatile/versatile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-versatile/versatile.c b/arch/arm/mach-versatile/versatile.c index 02ba68abe533..7ef03d0c224d 100644 --- a/arch/arm/mach-versatile/versatile.c +++ b/arch/arm/mach-versatile/versatile.c @@ -53,7 +53,7 @@ static void __iomem *versatile_sys_base; -unsigned int mmc_status(struct device *dev) +static unsigned int mmc_status(struct device *dev) { struct amba_device *adev = container_of(dev, struct amba_device, dev); u32 mask; |