Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 228a4cf8 authored by Mike Rapoport's avatar Mike Rapoport Committed by Greg Kroah-Hartman
Browse files

staging: sm750fb: staticize getPowerMode function



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

Signed-off-by: default avatarMike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6af70030
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ void ddk750_setDPMS(DPMS_t state)
	}
}

unsigned int getPowerMode(void)
static unsigned int getPowerMode(void)
{
	if (getChipType() == SM750LE)
		return 0;
+0 −2
Original line number Diff line number Diff line
@@ -19,8 +19,6 @@ DPMS_t;

void ddk750_setDPMS(DPMS_t);

unsigned int getPowerMode(void);

/*
 * This function sets the current power mode
 */