diff options
Diffstat (limited to 'os/hal/include/io_block.h')
-rw-r--r-- | os/hal/include/io_block.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/io_block.h b/os/hal/include/io_block.h index 20c2e991c..ebfa608b3 100644 --- a/os/hal/include/io_block.h +++ b/os/hal/include/io_block.h @@ -51,9 +51,9 @@ typedef struct { */
#define _base_block_device_methods \
/* Removable media detection.*/ \
- bool_t is_inserted(void *instance); \
+ bool_t (*is_inserted)(void *instance); \
/* Removable write protection detection.*/ \
- bool_t is_protected(void *instance); \
+ bool_t (*is_protected)(void *instance); \
/* Connection to the block device.*/ \
bool_t (*connect)(void *instance); \
/* Disconnection from the block device.*/ \
|