diff options
Diffstat (limited to 'firmware/export/ata_idle_notify.h')
-rw-r--r-- | firmware/export/ata_idle_notify.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/export/ata_idle_notify.h b/firmware/export/ata_idle_notify.h index 18f1648e00..348165f1d1 100644 --- a/firmware/export/ata_idle_notify.h +++ b/firmware/export/ata_idle_notify.h | |||
@@ -48,11 +48,9 @@ enum { | |||
48 | && (CONFIG_NAND == NAND_IFP7XX)) \ | 48 | && (CONFIG_NAND == NAND_IFP7XX)) \ |
49 | && !defined(BOOTLOADER) | 49 | && !defined(BOOTLOADER) |
50 | 50 | ||
51 | typedef bool (*storage_idle_notify)(void); | 51 | extern void register_storage_idle_func(void (*function)(void *data)); |
52 | |||
53 | extern void register_storage_idle_func(storage_idle_notify function); | ||
54 | #if USING_STORAGE_CALLBACK | 52 | #if USING_STORAGE_CALLBACK |
55 | extern void unregister_storage_idle_func(storage_idle_notify function, bool run); | 53 | extern void unregister_storage_idle_func(void (*function)(void *data), bool run); |
56 | extern bool call_storage_idle_notifys(bool force); | 54 | extern bool call_storage_idle_notifys(bool force); |
57 | #else | 55 | #else |
58 | #define unregister_storage_idle_func(f,r) | 56 | #define unregister_storage_idle_func(f,r) |