diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-03-02 04:41:02 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-18 16:23:47 -0400 |
commit | 95a75544cfb1410af721911cd8accdbc1a080b40 (patch) | |
tree | 357d7502994d746015e88ee420f4c7e82578328a /drivers/media/platform/s5p-mfc | |
parent | 3ead1ba31b24cb521a7256e19e6243f951f46ec8 (diff) |
[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: 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_v6.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c b/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c index 754bfbcb1c43..5708fc3d9b4d 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include "s5p_mfc_intr.h" | 17 | #include "s5p_mfc_intr.h" |
18 | #include "s5p_mfc_opr.h" | 18 | #include "s5p_mfc_opr.h" |
19 | 19 | ||
20 | int s5p_mfc_cmd_host2risc_v6(struct s5p_mfc_dev *dev, int cmd, | 20 | static int s5p_mfc_cmd_host2risc_v6(struct s5p_mfc_dev *dev, int cmd, |
21 | struct s5p_mfc_cmd_args *args) | 21 | struct s5p_mfc_cmd_args *args) |
22 | { | 22 | { |
23 | mfc_debug(2, "Issue the command: %d\n", cmd); | 23 | 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, | |||
32 | return 0; | 32 | return 0; |
33 | } | 33 | } |
34 | 34 | ||
35 | int s5p_mfc_sys_init_cmd_v6(struct s5p_mfc_dev *dev) | 35 | static int s5p_mfc_sys_init_cmd_v6(struct s5p_mfc_dev *dev) |
36 | { | 36 | { |
37 | struct s5p_mfc_cmd_args h2r_args; | 37 | struct s5p_mfc_cmd_args h2r_args; |
38 | struct s5p_mfc_buf_size_v6 *buf_size = dev->variant->buf_size->priv; | 38 | 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) | |||
44 | &h2r_args); | 44 | &h2r_args); |
45 | } | 45 | } |
46 | 46 | ||
47 | int s5p_mfc_sleep_cmd_v6(struct s5p_mfc_dev *dev) | 47 | static int s5p_mfc_sleep_cmd_v6(struct s5p_mfc_dev *dev) |
48 | { | 48 | { |
49 | struct s5p_mfc_cmd_args h2r_args; | 49 | struct s5p_mfc_cmd_args h2r_args; |
50 | 50 | ||
@@ -53,7 +53,7 @@ int s5p_mfc_sleep_cmd_v6(struct s5p_mfc_dev *dev) | |||
53 | &h2r_args); | 53 | &h2r_args); |
54 | } | 54 | } |
55 | 55 | ||
56 | int s5p_mfc_wakeup_cmd_v6(struct s5p_mfc_dev *dev) | 56 | static int s5p_mfc_wakeup_cmd_v6(struct s5p_mfc_dev *dev) |
57 | { | 57 | { |
58 | struct s5p_mfc_cmd_args h2r_args; | 58 | struct s5p_mfc_cmd_args h2r_args; |
59 | 59 | ||
@@ -63,7 +63,7 @@ int s5p_mfc_wakeup_cmd_v6(struct s5p_mfc_dev *dev) | |||
63 | } | 63 | } |
64 | 64 | ||
65 | /* Open a new instance and get its number */ | 65 | /* Open a new instance and get its number */ |
66 | int s5p_mfc_open_inst_cmd_v6(struct s5p_mfc_ctx *ctx) | 66 | static int s5p_mfc_open_inst_cmd_v6(struct s5p_mfc_ctx *ctx) |
67 | { | 67 | { |
68 | struct s5p_mfc_dev *dev = ctx->dev; | 68 | struct s5p_mfc_dev *dev = ctx->dev; |
69 | struct s5p_mfc_cmd_args h2r_args; | 69 | struct s5p_mfc_cmd_args h2r_args; |
@@ -121,7 +121,7 @@ int s5p_mfc_open_inst_cmd_v6(struct s5p_mfc_ctx *ctx) | |||
121 | } | 121 | } |
122 | 122 | ||
123 | /* Close instance */ | 123 | /* Close instance */ |
124 | int s5p_mfc_close_inst_cmd_v6(struct s5p_mfc_ctx *ctx) | 124 | static int s5p_mfc_close_inst_cmd_v6(struct s5p_mfc_ctx *ctx) |
125 | { | 125 | { |
126 | struct s5p_mfc_dev *dev = ctx->dev; | 126 | struct s5p_mfc_dev *dev = ctx->dev; |
127 | struct s5p_mfc_cmd_args h2r_args; | 127 | struct s5p_mfc_cmd_args h2r_args; |