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

Commit 95a75544 authored by Sachin Kamat's avatar Sachin Kamat Committed by Mauro Carvalho Chehab
Browse files

[media] s5p-mfc: Staticize some symbols in s5p_mfc_cmd_v6.c



Since these symbols are used only in this file, they can be made static.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 3ead1ba3
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -17,7 +17,7 @@
#include "s5p_mfc_intr.h"
#include "s5p_mfc_intr.h"
#include "s5p_mfc_opr.h"
#include "s5p_mfc_opr.h"


int s5p_mfc_cmd_host2risc_v6(struct s5p_mfc_dev *dev, int cmd,
static int s5p_mfc_cmd_host2risc_v6(struct s5p_mfc_dev *dev, int cmd,
				struct s5p_mfc_cmd_args *args)
				struct s5p_mfc_cmd_args *args)
{
{
	mfc_debug(2, "Issue the command: %d\n", cmd);
	mfc_debug(2, "Issue the command: %d\n", cmd);
@@ -32,7 +32,7 @@ int s5p_mfc_cmd_host2risc_v6(struct s5p_mfc_dev *dev, int cmd,
	return 0;
	return 0;
}
}


int s5p_mfc_sys_init_cmd_v6(struct s5p_mfc_dev *dev)
static int s5p_mfc_sys_init_cmd_v6(struct s5p_mfc_dev *dev)
{
{
	struct s5p_mfc_cmd_args h2r_args;
	struct s5p_mfc_cmd_args h2r_args;
	struct s5p_mfc_buf_size_v6 *buf_size = dev->variant->buf_size->priv;
	struct s5p_mfc_buf_size_v6 *buf_size = dev->variant->buf_size->priv;
@@ -44,7 +44,7 @@ int s5p_mfc_sys_init_cmd_v6(struct s5p_mfc_dev *dev)
					&h2r_args);
					&h2r_args);
}
}


int s5p_mfc_sleep_cmd_v6(struct s5p_mfc_dev *dev)
static int s5p_mfc_sleep_cmd_v6(struct s5p_mfc_dev *dev)
{
{
	struct s5p_mfc_cmd_args h2r_args;
	struct s5p_mfc_cmd_args h2r_args;


@@ -53,7 +53,7 @@ int s5p_mfc_sleep_cmd_v6(struct s5p_mfc_dev *dev)
			&h2r_args);
			&h2r_args);
}
}


int s5p_mfc_wakeup_cmd_v6(struct s5p_mfc_dev *dev)
static int s5p_mfc_wakeup_cmd_v6(struct s5p_mfc_dev *dev)
{
{
	struct s5p_mfc_cmd_args h2r_args;
	struct s5p_mfc_cmd_args h2r_args;


@@ -63,7 +63,7 @@ int s5p_mfc_wakeup_cmd_v6(struct s5p_mfc_dev *dev)
}
}


/* Open a new instance and get its number */
/* Open a new instance and get its number */
int s5p_mfc_open_inst_cmd_v6(struct s5p_mfc_ctx *ctx)
static int s5p_mfc_open_inst_cmd_v6(struct s5p_mfc_ctx *ctx)
{
{
	struct s5p_mfc_dev *dev = ctx->dev;
	struct s5p_mfc_dev *dev = ctx->dev;
	struct s5p_mfc_cmd_args h2r_args;
	struct s5p_mfc_cmd_args h2r_args;
@@ -121,7 +121,7 @@ int s5p_mfc_open_inst_cmd_v6(struct s5p_mfc_ctx *ctx)
}
}


/* Close instance */
/* Close instance */
int s5p_mfc_close_inst_cmd_v6(struct s5p_mfc_ctx *ctx)
static int s5p_mfc_close_inst_cmd_v6(struct s5p_mfc_ctx *ctx)
{
{
	struct s5p_mfc_dev *dev = ctx->dev;
	struct s5p_mfc_dev *dev = ctx->dev;
	struct s5p_mfc_cmd_args h2r_args;
	struct s5p_mfc_cmd_args h2r_args;