]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
firewall: remove misplaced semicolon from stm32_firewall_get_firewall
authorguanjing <guanjing@cmss.chinamobile.com>
Fri, 20 Dec 2024 08:33:35 +0000 (09:33 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 9 Jan 2025 21:57:34 +0000 (22:57 +0100)
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>
include/linux/bus/stm32_firewall_device.h

index 18e0a2fc3816ac5770074bfd58f8b2c124c9708f..5178b72bc920986bb6c55887453d146f382a8e77 100644 (file)
@@ -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;
 }