module_load: stop once all modules are loaded

This patch set was inadvertently removed when
the original patch was merged

Change-Id: I109882c9138524b9b912ed2a933e2e30c218d371
This commit is contained in:
bigbiff
2021-10-01 13:53:22 -04:00
committed by Captain Throwback
parent 22851b9476
commit e3aa02ea25
2 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ public:
static bool Load_Vendor_Modules(BOOT_MODE mode); // Load specific maintainer defined kernel modules in TWRP
private:
static bool Try_And_Load_Modules(std::string module_dir); // Use libmodprobe to attempt loading kernel modules
static int Try_And_Load_Modules(std::string module_dir); // Use libmodprobe to attempt loading kernel modules
static bool Write_Module_List(std::string module_dir); // Write list of modules to load from TW_LOAD_VENDOR_MODULES
static bool Copy_Modules_To_Tmpfs(std::string module_dir); // Copy modules to ramdisk for loading
};