diff --git a/drivers/atwinc15x0/atwinc15x0_bsp.c b/drivers/atwinc15x0/atwinc15x0_bsp.c index e83c4b329347a..d3d13f1f1c813 100644 --- a/drivers/atwinc15x0/atwinc15x0_bsp.c +++ b/drivers/atwinc15x0/atwinc15x0_bsp.c @@ -18,7 +18,7 @@ * @} */ -#include "atwinc15x0.h" +#include "atwinc15x0_internal.h" #include "mutex.h" #include "periph/spi.h" #include "xtimer.h" diff --git a/drivers/atwinc15x0/atwinc15x0_bus.c b/drivers/atwinc15x0/atwinc15x0_bus.c index a8305506f3646..947ffc05c3945 100644 --- a/drivers/atwinc15x0/atwinc15x0_bus.c +++ b/drivers/atwinc15x0/atwinc15x0_bus.c @@ -18,7 +18,7 @@ * @} */ -#include "atwinc15x0.h" +#include "atwinc15x0_internal.h" #include "bus_wrapper/include/nm_bus_wrapper.h" #define ENABLE_DEBUG (0) diff --git a/drivers/atwinc15x0/atwinc15x0_netdev.c b/drivers/atwinc15x0/atwinc15x0_netdev.c index 8246a30fee6ff..a541575d59b63 100644 --- a/drivers/atwinc15x0/atwinc15x0_netdev.c +++ b/drivers/atwinc15x0/atwinc15x0_netdev.c @@ -22,7 +22,7 @@ #define ETH_MODE (1) -#include "atwinc15x0.h" +#include "atwinc15x0_internal.h" #include "atwinc15x0_params.h" #include "bus_wrapper/include/nm_bus_wrapper.h" diff --git a/drivers/atwinc15x0/include/atwinc15x0_internal.h b/drivers/atwinc15x0/include/atwinc15x0_internal.h index 98e930ad6f4aa..d3a7c5ce27982 100644 --- a/drivers/atwinc15x0/include/atwinc15x0_internal.h +++ b/drivers/atwinc15x0/include/atwinc15x0_internal.h @@ -19,17 +19,12 @@ #ifndef ATWINC15X0_INTERNAL_H #define ATWINC15X0_INTERNAL_H -#include "bsp/include/nm_bsp.h" +#include "atwinc15x0.h" #ifdef __cplusplus extern "C" { #endif -/** - * @brief Forward declaration of ATWINC15x0 device descriptor type. - */ -typedef struct atwinc15x0 atwinc15x0_t; - /** * @brief Reference to the single ATWINC15x0 device instance * diff --git a/drivers/include/atwinc15x0.h b/drivers/include/atwinc15x0.h index 39802eba8e19a..bb36a74d824c9 100644 --- a/drivers/include/atwinc15x0.h +++ b/drivers/include/atwinc15x0.h @@ -20,8 +20,7 @@ #ifndef ATWINC15X0_H #define ATWINC15X0_H -#include "atwinc15x0_internal.h" - +#include "bsp/include/nm_bsp.h" #include "net/ethernet.h" #include "net/netdev.h" #include "periph/gpio.h"