staging: sm750fb: staticize getPowerMode function

The getPowerMode function is not used outside ddk750_power, make it
static.

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Mike Rapoport 2015-09-30 08:24:58 +03:00 committed by Greg Kroah-Hartman
parent 6af7003043
commit 228a4cf8e7
2 changed files with 1 additions and 3 deletions

View File

@ -17,7 +17,7 @@ void ddk750_setDPMS(DPMS_t state)
}
}
unsigned int getPowerMode(void)
static unsigned int getPowerMode(void)
{
if (getChipType() == SM750LE)
return 0;

View File

@ -19,8 +19,6 @@ DPMS_t;
void ddk750_setDPMS(DPMS_t);
unsigned int getPowerMode(void);
/*
* This function sets the current power mode
*/