forked from Minki/linux
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:
parent
6af7003043
commit
228a4cf8e7
@ -17,7 +17,7 @@ void ddk750_setDPMS(DPMS_t state)
|
||||
}
|
||||
}
|
||||
|
||||
unsigned int getPowerMode(void)
|
||||
static unsigned int getPowerMode(void)
|
||||
{
|
||||
if (getChipType() == SM750LE)
|
||||
return 0;
|
||||
|
@ -19,8 +19,6 @@ DPMS_t;
|
||||
|
||||
void ddk750_setDPMS(DPMS_t);
|
||||
|
||||
unsigned int getPowerMode(void);
|
||||
|
||||
/*
|
||||
* This function sets the current power mode
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user