mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[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: Ralf Baechle <[email protected]> Signed-off-by: Antonino Daplas <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ed49843b89
commit
ac3f9087d3
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue