diff options
Diffstat (limited to 'payloads/libpayload/drivers')
-rw-r--r-- | payloads/libpayload/drivers/storage/storage.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/payloads/libpayload/drivers/storage/storage.c b/payloads/libpayload/drivers/storage/storage.c index 3e9c375201..f623077733 100644 --- a/payloads/libpayload/drivers/storage/storage.c +++ b/payloads/libpayload/drivers/storage/storage.c @@ -57,6 +57,11 @@ int storage_attach_device(storage_dev_t *const dev) return 0; } +int storage_device_count(void) +{ + return dev_count; +} + /** * Probe for drive with given number * |