summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-31 16:17:27 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-31 16:17:27 +0000
commit289be3107b278baf3d22ebf8c5af07d401dbcba9 (patch)
tree0748188978b4bb7748de55c096404267d152f039
parent773c990c1ead265162d36f91a5f096b3ff0d4513 (diff)
downloaddrakx-289be3107b278baf3d22ebf8c5af07d401dbcba9.tar
drakx-289be3107b278baf3d22ebf8c5af07d401dbcba9.tar.gz
drakx-289be3107b278baf3d22ebf8c5af07d401dbcba9.tar.bz2
drakx-289be3107b278baf3d22ebf8c5af07d401dbcba9.tar.xz
drakx-289be3107b278baf3d22ebf8c5af07d401dbcba9.zip
declare init_firmware_timeout
-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);