Skip to content

Commit 155c5bf

Browse files
guanjingarndb
authored andcommitted
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: 5c9668c ("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>
1 parent 00f63a0 commit 155c5bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/bus/stm32_firewall_device.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ void stm32_firewall_release_access_by_id(struct stm32_firewall *firewall, u32 su
115115
#else /* CONFIG_STM32_FIREWALL */
116116

117117
int stm32_firewall_get_firewall(struct device_node *np, struct stm32_firewall *firewall,
118-
unsigned int nb_firewall);
118+
unsigned int nb_firewall)
119119
{
120120
return -ENODEV;
121121
}

0 commit comments

Comments
 (0)