From patchwork Sun Feb 14 15:08:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 8302211 Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6F4D89F38B for ; Sun, 14 Feb 2016 15:08:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9239C2039E for ; Sun, 14 Feb 2016 15:08:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8918420398 for ; Sun, 14 Feb 2016 15:08:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751402AbcBNPIf (ORCPT ); Sun, 14 Feb 2016 10:08:35 -0500 Received: from mail-qg0-f51.google.com ([209.85.192.51]:33116 "EHLO mail-qg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751399AbcBNPIf (ORCPT ); Sun, 14 Feb 2016 10:08:35 -0500 Received: by mail-qg0-f51.google.com with SMTP id b35so95280546qge.0 for ; Sun, 14 Feb 2016 07:08:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=ZBkvGlSSYmgHio8Hq6wWdoi+Y3FqX4tqeto+s5r6SMY=; b=0VNVpQ0sHD4Ip9FGV7qytleRsM1WOLyV7f4b/JjMs/phmYutMkNA7KX51MLeilN/1E YXVqOyQV/IzSg++3Pk5+edoDipkbAv+jWx8QkbGNehzgWDYXhG4S2TE9N5tvw+kupILf i0aE0/iNI4CdUgHYYtPlc11jOzR1+l1RX9XsyyxG8hf5bfylnRXYHZLQScKHe5DxQBT5 f/OqWgK8qV6RqD20r0RNQJJ5EYcr80G99amFYdfQtVYZ4vacXHCtJF6mWLwjXcQEAWI5 NYIfxWmLyro9UO5vLSWR8cIlbghsw1YUHgNxpkK7CJDfTqSss3otPwUWZaImxafdujc2 tHWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ZBkvGlSSYmgHio8Hq6wWdoi+Y3FqX4tqeto+s5r6SMY=; b=B6UO04ss+et+jVOMWDK4GU/y6aeqNML3w2e/9T7b2bIvXNom+k2KJhZ9ZlkVcD7NTM AbcCi29Ti1PgredlKZrN5i5JfNiImSJUTWZ/ZyJY2lAr+UjEJQIKJZzyh12sXrpsuPRM /ARrTCOCKmNmwdbrTQvVMZcqMCONb5bD/EEFOOeVDlG+WCKxUk5u11H6lDschbmQeS/3 5/tela7/SvM4YrSn3dNVIj2HK/AatOkXIye4Y20O3AXQi+M7Xiib4s8z2BhaZflj0Na9 WASlX5rP3GssRHecN6DSB/METGoZocZZSUr+cJgJW0qKf27dRyndlQ3eG5KnZJn61u5K qAvw== X-Gm-Message-State: AG10YOQZaKVLKxVNiq7jLn0YTgq000PPATAAlfbjSpniSqRZqSPw10y41ihoWPq+6lpZeQ== X-Received: by 10.140.101.70 with SMTP id t64mr14687186qge.61.1455462514233; Sun, 14 Feb 2016 07:08:34 -0800 (PST) Received: from localhost.localdomain ([187.180.187.217]) by smtp.gmail.com with ESMTPSA id q27sm9407882qki.47.2016.02.14.07.08.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 14 Feb 2016 07:08:33 -0800 (PST) From: Fabio Estevam To: herbert@gondor.apana.org.au Cc: horia.geanta@freescale.com, linux-crypto@vger.kernel.org, Fabio Estevam Subject: [PATCH] crypto: caam - Staticize caam_jr_shutdown() Date: Sun, 14 Feb 2016 13:08:21 -0200 Message-Id: <1455462501-18464-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam caam_jr_shutdown() is only used in this file, so it can be made static. This avoids the following sparse warning: drivers/crypto/caam/jr.c:68:5: warning: symbol 'caam_jr_shutdown' was not declared. Should it be static? Signed-off-by: Fabio Estevam --- drivers/crypto/caam/jr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/caam/jr.c b/drivers/crypto/caam/jr.c index f7e0d8d..6fd63a6 100644 --- a/drivers/crypto/caam/jr.c +++ b/drivers/crypto/caam/jr.c @@ -65,7 +65,7 @@ static int caam_reset_hw_jr(struct device *dev) /* * Shutdown JobR independent of platform property code */ -int caam_jr_shutdown(struct device *dev) +static int caam_jr_shutdown(struct device *dev) { struct caam_drv_private_jr *jrp = dev_get_drvdata(dev); dma_addr_t inpbusaddr, outbusaddr;