sparc64: make local functions static in conscfg

This commit is contained in:
Gedare Bloom
2014-10-13 15:24:31 -04:00
parent a0f27360c9
commit b7d3273665

View File

@@ -12,7 +12,7 @@
#include <boot/ofw.h> #include <boot/ofw.h>
int sun4v_console_device_first_open(int major, int minor, void *arg) static int sun4v_console_device_first_open(int major, int minor, void *arg)
{ {
return 0; return 0;
} }
@@ -23,21 +23,21 @@ static ssize_t sun4v_console_poll_write(int minor, const char *buf, size_t n)
return 0; return 0;
} }
void sun4v_console_deviceInitialize (int minor) static void sun4v_console_deviceInitialize (int minor)
{ {
} }
int sun4v_console_poll_read(int minor){ static int sun4v_console_poll_read(int minor){
int a; int a;
ofw_read(&a,1); ofw_read(&a,1);
if(a!=0){ if ( a != 0 ) {
return a>>24; return a>>24;
} }
return -1; return -1;
} }
bool sun4v_console_deviceProbe (int minor){ static bool sun4v_console_deviceProbe (int minor){
return true; return true;
} }