Skip to content

Commit 21e3893

Browse files
committed
drivers: flash: stm32: add include guards
Add missing include guards to flash_stm32.h. Signed-off-by: Fabio Baltieri <[email protected]>
1 parent 23a6a78 commit 21e3893

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/zephyr/drivers/flash/stm32_flash_api_extensions.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7+
#ifndef __ZEPHYR_INCLUDE_DRIVERS_FLASH_STM32_FLASH_API_EXTENSIONS_H__
8+
#define __ZEPHYR_INCLUDE_DRIVERS_FLASH_STM32_FLASH_API_EXTENSIONS_H__
9+
710
#include <zephyr/drivers/flash.h>
811

912
enum stm32_ex_ops {
@@ -64,3 +67,5 @@ struct flash_stm32_ex_op_rdp {
6467
bool permanent;
6568
};
6669
#endif /* CONFIG_FLASH_STM32_READOUT_PROTECTION */
70+
71+
#endif /* __ZEPHYR_INCLUDE_DRIVERS_FLASH_STM32_FLASH_API_EXTENSIONS_H__ */

0 commit comments

Comments
 (0)