Skip to content

Commit c43b8cf

Browse files
etienne-lmsjforissier
authored andcommitted
drivers: stm32_gpio: remove test on CFG_DRIVERS_GPIO
Remove test on CFG_DRIVERS_GPIO inside stm32_gpio.c C source file. CFG_* dependencies are addressed in makefile file (e.g. plat-*/conf.mk), not in the driver source file. Fixes: 1001585 ("drivers: stm32_gpio: remove GPIO access specific API functions") Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
1 parent 6b1c185 commit c43b8cf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

core/drivers/stm32_gpio.c

-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@
3131
#include <trace.h>
3232
#include <util.h>
3333

34-
#ifndef CFG_DRIVERS_GPIO
35-
#error stm32_gpio driver expects CFG_DRIVERS_GPIO
36-
#endif
37-
3834
#define GPIO_PIN_MAX 15
3935

4036
#define GPIO_MODER_OFFSET U(0x00)

0 commit comments

Comments
 (0)