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: 2206671 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 63BCFDF230 for ; Sat, 2 Mar 2013 12:00:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752014Ab3CBMAj (ORCPT ); Sat, 2 Mar 2013 07:00:39 -0500 Received: from mail-da0-f50.google.com ([209.85.210.50]:58986 "EHLO mail-da0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751836Ab3CBMAi (ORCPT ); Sat, 2 Mar 2013 07:00:38 -0500 Received: by mail-da0-f50.google.com with SMTP id h15so1781719dan.23 for ; Sat, 02 Mar 2013 04:00:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=6hRpQor7Cl6YoxNrLxivjPBhlZ8RiNIfzHp0J/PmIoI=; b=Rg7pXV3/an3texcXiFfMYYk/dXBFa1kFbmmgQ2TSme8aNed10y1y7XiNhoE7LMcImh Vw5l+giSZY2OyADVCM/1yu8efUdGOYN16AJPmuftyT5WgT/2PvoV5B331vaDenVsPJnF xJyJua4Ql9YmzDGMmLarOTLPfbIaBqzGsmgYhXjp8mqRvJBabavADHLkiNs/Y5aADV1J 2uqHpCIkA//b5KDAARmIGW9WP5tZ4m/bxjD5qBdUrp+wikdFotZILgyDteeC++Nlr7QX f7EX3P4Hle7Ct/aZU93Ca00MMfGBnl6W0qi5KgqE5pHMuEJt4XymslcuK/M4PQ9whXT5 Yf+g== 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: ALoCoQmnBC6yO1IaQUnrPlSnMEdnNKhY3KliCcByHVyplfHMRzq+7tH1VSBODlQTq3Hdl89FJRw3 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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;