altos/drivers/ao_led.c: Declare LED port as void * to allow any SoC to use this code
[fw/altos] / src / drivers / ao_led.c
index 0f7b7c27c7776332ea90f8a6455d4f90d9f058d0..899bee74915e0be87330b4892bb62cd15a5dfc31 100644 (file)
@@ -19,7 +19,7 @@
 #include "ao.h"
 
 static const struct {
-       struct stm_gpio *port;
+       void            *port;
        uint16_t        pin;
 } ao_leds[] = {
 #ifdef LED_0_PORT