]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: sm750fb: staticize getPowerMode function
authorMike Rapoport <mike.rapoport@gmail.com>
Wed, 30 Sep 2015 05:24:58 +0000 (08:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Sep 2015 10:26:20 +0000 (12:26 +0200)
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>
drivers/staging/sm750fb/ddk750_power.c
drivers/staging/sm750fb/ddk750_power.h

index e580dab2b625d128ee10b6959387c62b30213f7a..864bbd6abbda8a6773a32dc4542d2883f27bd625 100644 (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;
index b7cf6b281fb651fde508d3b177799d8e66084cde..ed08cdb883c908138736fc0162976b510aec994d 100644 (file)
@@ -19,8 +19,6 @@ DPMS_t;
 
 void ddk750_setDPMS(DPMS_t);
 
-unsigned int getPowerMode(void);
-
 /*
  * This function sets the current power mode
  */