feat: rank drivers at compile time
This commit is contained in:
@@ -193,11 +193,10 @@ get_fat_table_value(uint8_t fat_type, const uint8_t *fat_table, uint32_t active_
|
||||
return result;
|
||||
}
|
||||
|
||||
BLOCK_DEV_DRIVER(
|
||||
BLOCK_DEV_DRIVER(900) = {
|
||||
.name = "fat",
|
||||
.rank = 10000,
|
||||
.check_device = fat_check_device,
|
||||
.free_device = NULL, // todo
|
||||
);
|
||||
};
|
||||
|
||||
// steal validation code from here https://github.com/torvalds/linux/blob/fcadab740480e0e0e9fa9bd272acd409884d431a/fs/fat/inode.c#L1456
|
||||
Reference in New Issue
Block a user