From 60bf0ae0001999f30bad8923f81e51f3b5a232cf Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Sat, 28 Oct 2023 06:13:36 +0100 Subject: [PATCH] slot: added a (*dispose)(...) call For drivers Signed-off-by: Michel Pollet --- src/mii_slot.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mii_slot.h b/src/mii_slot.h index 6d2a621..b083b71 100644 --- a/src/mii_slot.h +++ b/src/mii_slot.h @@ -29,6 +29,7 @@ typedef struct mii_slot_drv_t { const char * desc; int (*probe)(mii_t * mii, uint32_t flags); int (*init)(mii_t * mii, struct mii_slot_t *slot); + void (*dispose)(mii_t * mii, struct mii_slot_t *slot); /* optional */ void (*reset)(mii_t * mii, struct mii_slot_t *slot); /* optional */ void (*run)(mii_t * mii, struct mii_slot_t *slot); /* optional */ uint8_t (*access)(