summaryrefslogtreecommitdiff
path: root/arch/riscv/mm/sifive_l2_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/mm/sifive_l2_cache.c')
-rw-r--r--arch/riscv/mm/sifive_l2_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/mm/sifive_l2_cache.c b/arch/riscv/mm/sifive_l2_cache.c
index 2e637ad71c05..a9ffff3277c7 100644
--- a/arch/riscv/mm/sifive_l2_cache.c
+++ b/arch/riscv/mm/sifive_l2_cache.c
@@ -142,7 +142,7 @@ static irqreturn_t l2_int_handler(int irq, void *device)
return IRQ_HANDLED;
}
-int __init sifive_l2_init(void)
+static int __init sifive_l2_init(void)
{
struct device_node *np;
struct resource res;