mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 19:24:01 -04:00
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:
committed by
Greg Kroah-Hartman
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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user