summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorguanjing <guanjing@cmss.chinamobile.com>2024-12-20 09:33:35 +0100
committerArnd Bergmann <arnd@arndb.de>2025-01-09 22:57:34 +0100
commit155c5bf26f983e9988333eeb0ef217138304d13b (patch)
treeedf071b10f541915dc4dcbbb6cfed13741c2d593 /include
parentMerge tag 'imx-fixes-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadlinux-155c5bf26f983e9988333eeb0ef217138304d13b.tar.xz
linux-155c5bf26f983e9988333eeb0ef217138304d13b.zip
firewall: remove misplaced semicolon from stm32_firewall_get_firewall
Remove misplaced colon in stm32_firewall_get_firewall() which results in a syntax error when the code is compiled without CONFIG_STM32_FIREWALL. Fixes: 5c9668cfc6d7 ("firewall: introduce stm32_firewall framework") Signed-off-by: guanjing <guanjing@cmss.chinamobile.com> Reviewed-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/bus/stm32_firewall_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/bus/stm32_firewall_device.h b/include/linux/bus/stm32_firewall_device.h
index 18e0a2fc3816..5178b72bc920 100644
--- a/include/linux/bus/stm32_firewall_device.h
+++ b/include/linux/bus/stm32_firewall_device.h
@@ -115,7 +115,7 @@ void stm32_firewall_release_access_by_id(struct stm32_firewall *firewall, u32 su
#else /* CONFIG_STM32_FIREWALL */
int stm32_firewall_get_firewall(struct device_node *np, struct stm32_firewall *firewall,
- unsigned int nb_firewall);
+ unsigned int nb_firewall)
{
return -ENODEV;
}