From patchwork Sat Sep 3 03:29:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 75336 Delivered-To: patch@linaro.org Received: by 10.140.29.8 with SMTP id a8csp1194668qga; Fri, 2 Sep 2016 20:29:57 -0700 (PDT) X-Received: by 10.98.13.84 with SMTP id v81mr42784721pfi.108.1472873396731; Fri, 02 Sep 2016 20:29:56 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l62si14926012pfl.260.2016.09.02.20.29.56; Fri, 02 Sep 2016 20:29:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753259AbcICD3x (ORCPT + 27 others); Fri, 2 Sep 2016 23:29:53 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:34459 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752313AbcICD3u (ORCPT ); Fri, 2 Sep 2016 23:29:50 -0400 Received: by mail-pa0-f52.google.com with SMTP id to9so7233725pac.1 for ; Fri, 02 Sep 2016 20:29:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=58QBdsTzv6nCK97sQVwj4KCg4sYYp2zivpvT/Z76v8o=; b=aXI7JmUE4RjEFtZM8l9V/2EVUKeFPlti43oHWMncT9hpDEp7Zvl324krumSH1ZN+NE JlWmpy65ABCZ1MFpE8DqqlYAzeltOVxQhM5QddkT9b5WDqnoJR2E7PHyGS+Rdin0OFhn NWDlNP72JKR+LZ5mbXPpGV/oVgftN9idb4BY8= 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=58QBdsTzv6nCK97sQVwj4KCg4sYYp2zivpvT/Z76v8o=; b=CZ+HN0aAr2ENzT0KDm+1JkACfvVUKZbQAlIBY8NppZiV9XpJRF9GMfrlFPq0Qk13L4 e7ido6/71Gk7xxPAcomMpWu1G513gBNSCAh01P7pujQePfspQNBBCaA95/mrRQw0RIf0 s1Y1r0y+SI6f43e3Oc9PUh/GKbUpnvjl1diU8M5dBIc6rGFKcUgH77wBcO3As0b4p7IX EjUrCQ+Wv9iAye2FvsVE2HHjAkUtsU/T48jy3ag/RRTZOjFo5I+bKRikLJy1Rv0il2t7 KK7ZeO5mgjvH48cI5etYalMRQm0v8nWDHQoVkEQWTfQYpahJZYEQz284yEZDlyYEruU5 sCbA== X-Gm-Message-State: AE9vXwOEN47D2T5bwT8xFAzriIusH8B+mZwCTdfst+2QWpFz0GKf71HfpeG7XwiZHL2q5gqr X-Received: by 10.66.242.201 with SMTP id ws9mr41919037pac.7.1472873389714; Fri, 02 Sep 2016 20:29:49 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.184]) by smtp.gmail.com with ESMTPSA id i62sm17750887pfg.62.2016.09.02.20.29.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 02 Sep 2016 20:29:49 -0700 (PDT) From: Baoyou Xie To: herbert@gondor.apana.org.au, davem@davemloft.net, horia.geanta@nxp.com, srinivas.kandagatla@linaro.org, alexandru.porosanu@nxp.com, arnd@arndb.de Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn Subject: [PATCH] crypto: caam: add missing header dependencies Date: Sat, 3 Sep 2016 11:29:30 +0800 Message-Id: <1472873370-18589-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We get 1 warning when building kernel with W=1: drivers/crypto/caam/ctrl.c:398:5: warning: no previous prototype for 'caam_get_era' [-Wmissing-prototypes] In fact, this function is declared in drivers/crypto/caam/ctrl.h and be exported, thus can be refrenced by modules, so this patch adds missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/crypto/caam/ctrl.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c index 0ec112e..46e72ed 100644 --- a/drivers/crypto/caam/ctrl.c +++ b/drivers/crypto/caam/ctrl.c @@ -14,6 +14,7 @@ #include "jr.h" #include "desc_constr.h" #include "error.h" +#include "ctrl.h" bool caam_little_end; EXPORT_SYMBOL(caam_little_end);