Kernel: Make enumerate_disk_partitions function not const

The enumerate_disk_partitions function doesn't need to be const. Remove
the constness and use the newly added `add_partition` function.
This commit is contained in:
Pankaj Raghav 2022-01-03 16:28:38 +05:30 committed by Brian Gianforcaro
commit 9ae2285675
Notes: sideshowbarker 2024-07-17 21:16:40 +09:00
2 changed files with 4 additions and 6 deletions

View file

@ -38,7 +38,7 @@ private:
void enumerate_controllers(bool force_pio);
void enumerate_storage_devices();
void enumerate_disk_partitions() const;
void enumerate_disk_partitions();
void determine_boot_device();
void determine_boot_device_with_partition_uuid();