Rename driver data structure

This commit is contained in:
Sergio R. Caprile committed 2022-12-23 15:45:30 -03:00
1 parent 21d3678fa7
commit ddca518cca
8 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ static int guess_mdc_cr(void) {
}
static bool mip_driver_stm32_init(struct mip_if *ifp) {
struct mip_driver_stm32 *d = (struct mip_driver_stm32 *) ifp->driver_data;
struct mip_driver_stm32_data *d = (struct mip_driver_stm32_data *) ifp->driver_data;
s_ifp = ifp;
// Init RX descriptors
+1 -1
View File
@@ -1,6 +1,6 @@
#pragma once
struct mip_driver_stm32 {
struct mip_driver_stm32_data {
// MDC clock divider. MDC clock is derived from HCLK, must not exceed 2.5MHz
// HCLK range DIVIDER mdc_cr VALUE
// -------------------------------------