From patchwork Mon Mar 14 04:19:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 8575631 X-Patchwork-Delegate: herbert@gondor.apana.org.au 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 580299F6E1 for ; Mon, 14 Mar 2016 04:20:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7270C20452 for ; Mon, 14 Mar 2016 04:20:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9BE07203E3 for ; Mon, 14 Mar 2016 04:20:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753092AbcCNEUJ (ORCPT ); Mon, 14 Mar 2016 00:20:09 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:18104 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752047AbcCNEUI (ORCPT ); Mon, 14 Mar 2016 00:20:08 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O4000FV2HDGI700@mailout1.w1.samsung.com>; Mon, 14 Mar 2016 04:20:04 +0000 (GMT) X-AuditID: cbfec7f4-f79026d00000418a-02-56e63bf479cc Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 5D.FB.16778.4FB36E65; Mon, 14 Mar 2016 04:20:04 +0000 (GMT) Received: from localhost.localdomain ([10.113.63.52]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O4000GGYHD9J920@eusync4.samsung.com>; Mon, 14 Mar 2016 04:20:04 +0000 (GMT) From: Krzysztof Kozlowski To: Matt Mackall , Herbert Xu , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] hwrng: exynos - Enable COMPILE_TEST Date: Mon, 14 Mar 2016 13:19:55 +0900 Message-id: <1457929195-22298-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 2.5.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHJMWRmVeSWpSXmKPExsVy+t/xa7pfrJ+FGXTMF7HofiVj8fqFocX9 ez+ZLC7vmsNmMeP8PiaLBdv6GB3YPLYdUPXo27KK0aPv5QZGj8+b5AJYorhsUlJzMstSi/Tt Ergy/p76xVQwm72i5cNM5gbGJrYuRk4OCQETiScf57NC2GISF+6tB4sLCSxllPh8P7SLkQvI /s8o8fT3DmaQBJuAscTm5UvYQBIiAusZJW682gvWwSxgKPHz3R92EFsYaOqJ1m1gDSwCqhI9 c2Yzgti8Au4Sh1s/M3UxcgBtk5NYcCF9AiP3AkaGVYyiqaXJBcVJ6bmGesWJucWleel6yfm5 mxghofBlB+PiY1aHGAU4GJV4eH+seRomxJpYVlyZe4hRgoNZSYS32uhZmBBvSmJlVWpRfnxR aU5q8SFGaQ4WJXHeubvehwgJpCeWpGanphakFsFkmTg4pRoYl939ccJsxZGMit7pt+avZjZR uBa9roNric6JOwePP1lR+/5nifyj9B7/c3J7gl937PRao3maY+7kguW/3XsdpIu4Dka83Bnm pfxUsiYx6FtriEZof/HRqe9mph233uO6gfHOUlv5Cyc1jXv0Lq4XnnfKj/GyVzCDQOQP7+K8 S7Mfq+myLQ1WUGIpzkg01GIuKk4EAFiQitsBAgAA 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.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Get some build coverage of Exynos H/W random number generator driver. Driver uses devm_ioremap_resource() so add IOMEM dependency for the compile testing. Signed-off-by: Krzysztof Kozlowski --- Compile-tested on x86, x86_64, ppc64, arm, arm64 and mips. --- drivers/char/hw_random/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 67ee8b08ab53..3c5be60befce 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -309,7 +309,8 @@ config HW_RANDOM_POWERNV config HW_RANDOM_EXYNOS tristate "EXYNOS HW random number generator support" - depends on ARCH_EXYNOS + depends on ARCH_EXYNOS || COMPILE_TEST + depends on HAS_IOMEM default HW_RANDOM ---help--- This driver provides kernel-side support for the Random Number