diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-03-02 05:50:12 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-18 16:24:11 -0400 |
commit | 4294dcf7e335da72fe81538c46b4a8e83037ea20 (patch) | |
tree | d725a2266d7e16bc6ffe7490770d0eb29af717a9 /drivers/media/platform/s5p-mfc | |
parent | 95a75544cfb1410af721911cd8accdbc1a080b40 (diff) |
[media] s5p-mfc: Staticize some symbols in s5p_mfc_cmd_v5.c
These symbols are used only in this file and can be made static.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/s5p-mfc')
-rw-r--r-- | drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c b/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c index 138778083c63..ad4f1df0a18e 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include "s5p_mfc_debug.h" | 16 | #include "s5p_mfc_debug.h" |
17 | 17 | ||
18 | /* This function is used to send a command to the MFC */ | 18 | /* This function is used to send a command to the MFC */ |
19 | int s5p_mfc_cmd_host2risc_v5(struct s5p_mfc_dev *dev, int cmd, | 19 | static int s5p_mfc_cmd_host2risc_v5(struct s5p_mfc_dev *dev, int cmd, |
20 | struct s5p_mfc_cmd_args *args) | 20 | struct s5p_mfc_cmd_args *args) |
21 | { | 21 | { |
22 | int cur_cmd; | 22 | int cur_cmd; |
@@ -41,7 +41,7 @@ int s5p_mfc_cmd_host2risc_v5(struct s5p_mfc_dev *dev, int cmd, | |||
41 | } | 41 | } |
42 | 42 | ||
43 | /* Initialize the MFC */ | 43 | /* Initialize the MFC */ |
44 | int s5p_mfc_sys_init_cmd_v5(struct s5p_mfc_dev *dev) | 44 | static int s5p_mfc_sys_init_cmd_v5(struct s5p_mfc_dev *dev) |
45 | { | 45 | { |
46 | struct s5p_mfc_cmd_args h2r_args; | 46 | struct s5p_mfc_cmd_args h2r_args; |
47 | 47 | ||
@@ -52,7 +52,7 @@ int s5p_mfc_sys_init_cmd_v5(struct s5p_mfc_dev *dev) | |||
52 | } | 52 | } |
53 | 53 | ||
54 | /* Suspend the MFC hardware */ | 54 | /* Suspend the MFC hardware */ |
55 | int s5p_mfc_sleep_cmd_v5(struct s5p_mfc_dev *dev) | 55 | static int s5p_mfc_sleep_cmd_v5(struct s5p_mfc_dev *dev) |
56 | { | 56 | { |
57 | struct s5p_mfc_cmd_args h2r_args; | 57 | struct s5p_mfc_cmd_args h2r_args; |
58 | 58 | ||
@@ -61,7 +61,7 @@ int s5p_mfc_sleep_cmd_v5(struct s5p_mfc_dev *dev) | |||
61 | } | 61 | } |
62 | 62 | ||
63 | /* Wake up the MFC hardware */ | 63 | /* Wake up the MFC hardware */ |
64 | int s5p_mfc_wakeup_cmd_v5(struct s5p_mfc_dev *dev) | 64 | static int s5p_mfc_wakeup_cmd_v5(struct s5p_mfc_dev *dev) |
65 | { | 65 | { |
66 | struct s5p_mfc_cmd_args h2r_args; | 66 | struct s5p_mfc_cmd_args h2r_args; |
67 | 67 | ||
@@ -71,7 +71,7 @@ int s5p_mfc_wakeup_cmd_v5(struct s5p_mfc_dev *dev) | |||
71 | } | 71 | } |
72 | 72 | ||
73 | 73 | ||
74 | int s5p_mfc_open_inst_cmd_v5(struct s5p_mfc_ctx *ctx) | 74 | static int s5p_mfc_open_inst_cmd_v5(struct s5p_mfc_ctx *ctx) |
75 | { | 75 | { |
76 | struct s5p_mfc_dev *dev = ctx->dev; | 76 | struct s5p_mfc_dev *dev = ctx->dev; |
77 | struct s5p_mfc_cmd_args h2r_args; | 77 | struct s5p_mfc_cmd_args h2r_args; |
@@ -124,7 +124,7 @@ int s5p_mfc_open_inst_cmd_v5(struct s5p_mfc_ctx *ctx) | |||
124 | return ret; | 124 | return ret; |
125 | } | 125 | } |
126 | 126 | ||
127 | int s5p_mfc_close_inst_cmd_v5(struct s5p_mfc_ctx *ctx) | 127 | static int s5p_mfc_close_inst_cmd_v5(struct s5p_mfc_ctx *ctx) |
128 | { | 128 | { |
129 | struct s5p_mfc_dev *dev = ctx->dev; | 129 | struct s5p_mfc_dev *dev = ctx->dev; |
130 | struct s5p_mfc_cmd_args h2r_args; | 130 | struct s5p_mfc_cmd_args h2r_args; |