From patchwork Thu Jan 12 15:03:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 9513387 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D261660762 for ; Thu, 12 Jan 2017 15:11:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C54A9286C4 for ; Thu, 12 Jan 2017 15:11:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA2B5286D9; Thu, 12 Jan 2017 15:11:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2F261286CD for ; Thu, 12 Jan 2017 15:11:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751000AbdALPLe (ORCPT ); Thu, 12 Jan 2017 10:11:34 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:35331 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750933AbdALPLc (ORCPT ); Thu, 12 Jan 2017 10:11:32 -0500 Received: by mail-pf0-f193.google.com with SMTP id f144so3939365pfa.2 for ; Thu, 12 Jan 2017 07:11:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jjyFaYkIU4vBimQyexN0hBZXK/4FCMukrLTo9I86QH4=; b=h6W/h8wiR+H/wsTUW6RvBe3D5dbKklRYgCsyNtN1stuQJrXdzuHGqLJBf58FpDl2M3 I+4zDBIDyjoMIbHqFzkks4eNJXazh9hdMpXSM6TCF6ZnNiqnX4jS02ytz3oskl+fVXG4 +X2Jze24LrT9THt75VNx80t8sF/mgPaZVbl/VX24Gq/4qI2uzLXotLsx7lYEitNUGGYB mGKX6kWHdHgmV/tGdEpUNyzsX3YrYxFRkAcNc6sDSSxse3L9pyq+myRO4YVn/oLbf57x nDQCgHJM32A2dth26Ob8WzOvUujXrTLEl/m8oq1qRAhVpR1v9ANeJ/aoLf8UuRza3CQX 9X1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jjyFaYkIU4vBimQyexN0hBZXK/4FCMukrLTo9I86QH4=; b=pus1YNUAfQc5ZZ0J2cEULb+xCNknXlXnIFl1Ll9MBXJk4M4Jei0pzlnCZqmLk3NJA4 J1WnySEjLEjUeFH9VMuGQAR8B5BJlYLwOpiZv+ABkdUteuV2FRSgBU5nPttn5QLnV4aq cpCzW4mTMUvr99es+3JectLV/y3Kc4UYKbFUngMEpIenUoLH04XFhV4ohkHKPkB+IH9/ 3azirOU+QTmAVlKVLN50Yy+8XxJZFMQNg8Ie9QA/SVBHGFVZxUTVz5qIMqyIYe6lte18 AGY2gIgu3GM5yKRQZKsQTyzXtrJDMl53u5hXDrYRuJj+XoYGfN4bxfOMcIhUFISc44/t WKzw== X-Gm-Message-State: AIkVDXJf8/kfGDk3KObgmMaG91A9jqu+9/aYfzjQYlbXZ4vdf72UVHRG68/ap9H2mMuSZw== X-Received: by 10.98.63.15 with SMTP id m15mr17243346pfa.71.1484233408776; Thu, 12 Jan 2017 07:03:28 -0800 (PST) Received: from 192.168.0.37 (ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com. [52.192.197.227]) by smtp.gmail.com with ESMTPSA id l12sm14940607pfj.37.2017.01.12.07.03.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jan 2017 07:03:28 -0800 (PST) From: Wei Yongjun To: Herbert Xu , Matthias Brugger , Ryder Lee Cc: Wei Yongjun , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH -next] crypto: mediatek - make symbol of_crypto_id static Date: Thu, 12 Jan 2017 15:03:21 +0000 Message-Id: <20170112150321.4187-1-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.9.3 MIME-Version: 1.0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Fixes the following sparse warning: drivers/crypto/mediatek/mtk-platform.c:585:27: warning: symbol 'of_crypto_id' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/crypto/mediatek/mtk-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/crypto/mediatek/mtk-platform.c b/drivers/crypto/mediatek/mtk-platform.c index 286296f..a9c713d 100644 --- a/drivers/crypto/mediatek/mtk-platform.c +++ b/drivers/crypto/mediatek/mtk-platform.c @@ -582,7 +582,7 @@ static int mtk_crypto_remove(struct platform_device *pdev) return 0; } -const struct of_device_id of_crypto_id[] = { +static const struct of_device_id of_crypto_id[] = { { .compatible = "mediatek,eip97-crypto" }, {}, };