Skip to content

Commit

Permalink
[PATCH] sparse: Fix warnings in newport driver about non-static funct…
Browse files Browse the repository at this point in the history
…ions

There are more sparse warnings but fixing those will require some more work
than I want to do without hardware for testing at hand.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Ralf Baechle authored and Linus Torvalds committed Mar 27, 2006
1 parent ed49843 commit ac3f908
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/console/newport_con.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ static inline void newport_clear_lines(int ystart, int yend, int ci)
newport_clear_screen(0, ystart, 1280 + 63, yend, ci);
}

void newport_reset(void)
static void newport_reset(void)
{
unsigned short treg;
int i;
Expand Down Expand Up @@ -193,7 +193,7 @@ void newport_reset(void)
* calculate the actual screen size by reading
* the video timing out of the VC2
*/
void newport_get_screensize(void)
static void newport_get_screensize(void)
{
int i, cols;
unsigned short ventry, treg;
Expand Down

0 comments on commit ac3f908

Please sign in to comment.