summaryrefslogtreecommitdiffstats
path: root/hw/fsp/fsp-leds.c
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2015-02-05 14:09:17 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-13 16:42:16 +1100
commit8affde09b29283d014a3de93d669ac4d450a0008 (patch)
tree2b06f3fcd14c5079d1eb8562fd31ae03b52fc9fe /hw/fsp/fsp-leds.c
parent147d5e787d8e6b39f4446dc37e2e39ccde804558 (diff)
downloadtalos-skiboot-8affde09b29283d014a3de93d669ac4d450a0008.tar.gz
talos-skiboot-8affde09b29283d014a3de93d669ac4d450a0008.zip
FSP/LEDS: Do not expose driver specific functions
Don't expose functions which are not used outside LED driver. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/fsp/fsp-leds.c')
-rw-r--r--hw/fsp/fsp-leds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/fsp/fsp-leds.c b/hw/fsp/fsp-leds.c
index b17ca014..204df7f7 100644
--- a/hw/fsp/fsp-leds.c
+++ b/hw/fsp/fsp-leds.c
@@ -568,7 +568,7 @@ static void fsp_ret_loc_code_list(u16 req_type, char *loc_code)
* 1 byte - Location code field size
* `Field size` bytes - NULL terminated ASCII location code string
*/
-void fsp_get_led_list(struct fsp_msg *msg)
+static void fsp_get_led_list(struct fsp_msg *msg)
{
struct fsp_loc_code_req req;
u32 tce_token = msg->data.words[1];
@@ -609,7 +609,7 @@ void fsp_get_led_list(struct fsp_msg *msg)
* way FSP tells Sapphire that it has consumed all the data present
* on the outbound buffer and Sapphire can reuse it for next request.
*/
-void fsp_free_led_list_buf(struct fsp_msg *msg)
+static void fsp_free_led_list_buf(struct fsp_msg *msg)
{
u32 tce_token = msg->data.words[1];
u32 cmd = FSP_RSP_RET_LED_BUFFER;
@@ -700,7 +700,7 @@ static void fsp_ret_led_state(char *loc_code)
*
* With this command FSP query the state for any given LED
*/
-void fsp_get_led_state(struct fsp_msg *msg)
+static void fsp_get_led_state(struct fsp_msg *msg)
{
struct fsp_get_ind_state_req req;
u32 tce_token = msg->data.words[1];
@@ -751,7 +751,7 @@ void fsp_get_led_state(struct fsp_msg *msg)
*
* With this command FSP sets/resets the state for any given LED
*/
-void fsp_set_led_state(struct fsp_msg *msg)
+static void fsp_set_led_state(struct fsp_msg *msg)
{
struct fsp_set_ind_state_req req;
struct fsp_led_data *led, *next;
OpenPOWER on IntegriCloud