summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/modules.c2
-rw-r--r--mdk-stage1/modules.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/mdk-stage1/modules.c b/mdk-stage1/modules.c
index dac88a214..18642cdb9 100644
--- a/mdk-stage1/modules.c
+++ b/mdk-stage1/modules.c
@@ -229,7 +229,7 @@ static int load_modules_descriptions(void)
return 0;
}
-static void init_firmware_timeout(void)
+void init_firmware_timeout(void)
{
int fd = open(FIRMWARE_TIMEOUT_FILE, O_WRONLY|O_TRUNC, 0666);
if (!fd) {
diff --git a/mdk-stage1/modules.h b/mdk-stage1/modules.h
index b5a597ac2..8a57b9e41 100644
--- a/mdk-stage1/modules.h
+++ b/mdk-stage1/modules.h
@@ -21,6 +21,7 @@
enum insmod_return { INSMOD_OK, INSMOD_FAILED, INSMOD_FAILED_FILE_NOT_FOUND };
void init_modules_insmoding(void);
+void init_firmware_timeout(void);
int insmod_local_file(char * path, char * options);
enum insmod_return my_insmod(const char * mod_name, enum driver_type type, char * options, int allow_modules_floppy);
enum return_type ask_insmod(enum driver_type);