提交 ac3f9087 编写于 作者: R Ralf Baechle 提交者: Linus Torvalds

[PATCH] sparse: Fix warnings in newport driver about non-static functions

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: NRalf Baechle <ralf@linux-mips.org>
Signed-off-by: NAntonino Daplas <adaplas@pol.net>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 ed49843b
...@@ -149,7 +149,7 @@ static inline void newport_clear_lines(int ystart, int yend, int ci) ...@@ -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); newport_clear_screen(0, ystart, 1280 + 63, yend, ci);
} }
void newport_reset(void) static void newport_reset(void)
{ {
unsigned short treg; unsigned short treg;
int i; int i;
...@@ -193,7 +193,7 @@ void newport_reset(void) ...@@ -193,7 +193,7 @@ void newport_reset(void)
* calculate the actual screen size by reading * calculate the actual screen size by reading
* the video timing out of the VC2 * the video timing out of the VC2
*/ */
void newport_get_screensize(void) static void newport_get_screensize(void)
{ {
int i, cols; int i, cols;
unsigned short ventry, treg; unsigned short ventry, treg;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册