summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/probing.c2
-rw-r--r--mdk-stage1/probing.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index fab0f5d02..ce8b48181 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -503,7 +503,7 @@ void probe_that_type(enum driver_type type, enum media_bus bus __attribute__ ((u
static struct media_info * medias = NULL;
-static void find_media(enum media_bus bus)
+void find_media(enum media_bus bus)
{
char b[50];
char buf[5000];
diff --git a/mdk-stage1/probing.h b/mdk-stage1/probing.h
index ed1af8ea6..7dc1d3360 100644
--- a/mdk-stage1/probing.h
+++ b/mdk-stage1/probing.h
@@ -28,6 +28,7 @@ enum driver_type { SCSI_ADAPTERS, NETWORK_DEVICES, USB_CONTROLLERS, ANY_DRIVER_T
enum media_bus { BUS_IDE, BUS_SCSI, BUS_USB, BUS_PCMCIA, BUS_ANY };
+void find_media(enum media_bus bus);
void get_medias(enum media_type media, char *** names, char *** models, enum media_bus bus);
char ** get_net_devices(void);
void net_discovered_interface(char * intf_name);