From patchwork Sat Mar 2 11:50:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 15207 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id F1FE423E00 for ; Sat, 2 Mar 2013 12:00:41 +0000 (UTC) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by fiordland.canonical.com (Postfix) with ESMTP id 8DCD1A18186 for ; Sat, 2 Mar 2013 12:00:41 +0000 (UTC) Received: by mail-vc0-f180.google.com with SMTP id fo13so2531924vcb.11 for ; Sat, 02 Mar 2013 04:00:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=6hRpQor7Cl6YoxNrLxivjPBhlZ8RiNIfzHp0J/PmIoI=; b=dPSucCjcmfaTKJDKpcTuBCAXPOBwuokA52PTFwHuqnQve5ry7pgM07QrA5899hC11r E+6wQy/CgWIASWErk/MgngEpKXLvSSRuLdCS5vzGYwUdA/QTxUZnLOm5yh3c5PtKoZxT FSOo7wXby8n4SCc1xj31FiYDpzi1lHK4fz3zsQm/UZ9V2lyqZhfQoGm5lGkrgMFMAEBu La43MwRhI1kkHCZlC/kiYUhMhy7Ty/V8wA0UgFjpq+q7+JjcmTi0300pxAGJqPNlFRE7 mepuIFUf8p1PY9ko4tSyYD8BscCyWg60UO25emOEiNaPXcfsBkVJO1xVTXqz41Qfovsh qMzQ== X-Received: by 10.220.242.73 with SMTP id lh9mr5200910vcb.49.1362225641066; Sat, 02 Mar 2013 04:00:41 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp6905veb; Sat, 2 Mar 2013 04:00:40 -0800 (PST) X-Received: by 10.68.116.169 with SMTP id jx9mr18912617pbb.94.1362225639668; Sat, 02 Mar 2013 04:00:39 -0800 (PST) Received: from mail-pb0-f41.google.com (mail-pb0-f41.google.com [209.85.160.41]) by mx.google.com with ESMTPS id ox10si15052712pbb.331.2013.03.02.04.00.38 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Mar 2013 04:00:39 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.41 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.41; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.41 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pb0-f41.google.com with SMTP id um15so2249429pbc.0 for ; Sat, 02 Mar 2013 04:00:38 -0800 (PST) X-Received: by 10.68.0.129 with SMTP id 1mr19065402pbe.63.1362225638366; Sat, 02 Mar 2013 04:00:38 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id g4sm16598344pax.4.2013.03.02.04.00.34 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 02 Mar 2013 04:00:37 -0800 (PST) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: k.debski@samsung.com, sachin.kamat@linaro.org, patches@linaro.org, s.nawrocki@samsung.com Subject: [PATCH 1/3] [media] s5p-mfc: Staticize some symbols in s5p_mfc_cmd_v5.c Date: Sat, 2 Mar 2013 17:20:12 +0530 Message-Id: <1362225014-31760-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQkMwArEXzxknPSanjEi0IioD4+4/aYJWtFdWyXT0xrQgyKFwWS9x0r+40w2Hyb/UXbgnXjh These symbols are used only in this file and can be made static. Signed-off-by: Sachin Kamat --- 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 13877808..ad4f1df 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 @@ #include "s5p_mfc_debug.h" /* This function is used to send a command to the MFC */ -int s5p_mfc_cmd_host2risc_v5(struct s5p_mfc_dev *dev, int cmd, +static int s5p_mfc_cmd_host2risc_v5(struct s5p_mfc_dev *dev, int cmd, struct s5p_mfc_cmd_args *args) { int cur_cmd; @@ -41,7 +41,7 @@ int s5p_mfc_cmd_host2risc_v5(struct s5p_mfc_dev *dev, int cmd, } /* Initialize the MFC */ -int s5p_mfc_sys_init_cmd_v5(struct s5p_mfc_dev *dev) +static int s5p_mfc_sys_init_cmd_v5(struct s5p_mfc_dev *dev) { struct s5p_mfc_cmd_args h2r_args; @@ -52,7 +52,7 @@ int s5p_mfc_sys_init_cmd_v5(struct s5p_mfc_dev *dev) } /* Suspend the MFC hardware */ -int s5p_mfc_sleep_cmd_v5(struct s5p_mfc_dev *dev) +static int s5p_mfc_sleep_cmd_v5(struct s5p_mfc_dev *dev) { struct s5p_mfc_cmd_args h2r_args; @@ -61,7 +61,7 @@ int s5p_mfc_sleep_cmd_v5(struct s5p_mfc_dev *dev) } /* Wake up the MFC hardware */ -int s5p_mfc_wakeup_cmd_v5(struct s5p_mfc_dev *dev) +static int s5p_mfc_wakeup_cmd_v5(struct s5p_mfc_dev *dev) { struct s5p_mfc_cmd_args h2r_args; @@ -71,7 +71,7 @@ int s5p_mfc_wakeup_cmd_v5(struct s5p_mfc_dev *dev) } -int s5p_mfc_open_inst_cmd_v5(struct s5p_mfc_ctx *ctx) +static int s5p_mfc_open_inst_cmd_v5(struct s5p_mfc_ctx *ctx) { struct s5p_mfc_dev *dev = ctx->dev; struct s5p_mfc_cmd_args h2r_args; @@ -124,7 +124,7 @@ int s5p_mfc_open_inst_cmd_v5(struct s5p_mfc_ctx *ctx) return ret; } -int s5p_mfc_close_inst_cmd_v5(struct s5p_mfc_ctx *ctx) +static int s5p_mfc_close_inst_cmd_v5(struct s5p_mfc_ctx *ctx) { struct s5p_mfc_dev *dev = ctx->dev; struct s5p_mfc_cmd_args h2r_args;