summaryrefslogtreecommitdiff
path: root/include/drivers/st/stm32_gpio.h
diff options
context:
space:
mode:
authorAlexei Fedorov <Alexei.Fedorov@arm.com>2019-08-02 08:57:02 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2019-08-02 08:57:02 +0000
commit01c44dddbda2bf74dff4bdbaee43177236982887 (patch)
treec6f6607a5bab02c7497689e043db50fad88158f8 /include/drivers/st/stm32_gpio.h
parentf61469e532c05bfe0de06620e8762db18414a357 (diff)
parentd5dfdeb65ff5b7f24dded201d2945c7b74565ce8 (diff)
Merge "Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__" into integration
Diffstat (limited to 'include/drivers/st/stm32_gpio.h')
-rw-r--r--include/drivers/st/stm32_gpio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drivers/st/stm32_gpio.h b/include/drivers/st/stm32_gpio.h
index 4320eafc..e241f584 100644
--- a/include/drivers/st/stm32_gpio.h
+++ b/include/drivers/st/stm32_gpio.h
@@ -45,13 +45,13 @@
#define GPIO_PULL_DOWN 0x02
#define GPIO_PULL_MASK U(0x03)
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <stdint.h>
int dt_set_pinctrl_config(int node);
void set_gpio(uint32_t bank, uint32_t pin, uint32_t mode, uint32_t speed,
uint32_t pull, uint32_t alternate, uint8_t status);
void set_gpio_secure_cfg(uint32_t bank, uint32_t pin, bool secure);
-#endif /*__ASSEMBLY__*/
+#endif /*__ASSEMBLER__*/
#endif /* STM32_GPIO_H */