From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B5EDC433DF for ; Tue, 30 Jun 2020 05:40:51 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 08474206BE for ; Tue, 30 Jun 2020 05:40:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="gyNi5aAT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 08474206BE Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=driverdev-devel-bounces@linuxdriverproject.org Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BEB332035B; Tue, 30 Jun 2020 05:40:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hH0h+xwSlY6d; Tue, 30 Jun 2020 05:40:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id DB51D20377; Tue, 30 Jun 2020 05:40:49 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 56D731BF287 for ; Tue, 30 Jun 2020 05:40:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4FA0C86D78 for ; Tue, 30 Jun 2020 05:40:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oPfZQb4j8RJs for ; Tue, 30 Jun 2020 05:40:48 +0000 (UTC) X-Greylist: delayed 00:49:22 by SQLgrey-1.7.6 Received: from mail-ot1-f74.google.com (mail-ot1-f74.google.com [209.85.210.74]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 987EC86D31 for ; Tue, 30 Jun 2020 05:40:48 +0000 (UTC) Received: by mail-ot1-f74.google.com with SMTP id n9so8000696otj.18 for ; Mon, 29 Jun 2020 22:40:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=vSqeEeckvpRbZGibNjwUaMyXm8VkQnSd56e/epMHyVQ=; b=gyNi5aATe8TqHE7u6B+wIEwHg193GUJBNOD+RzKybJOneonjln50tdgpwT43fJ/Ths 8dFI5YKs37yghC22E/N+87q5OGQUfcGqRPEuzA2jrf8AQ+hlNUnYSSxNLePtmV7PQemM /YDnZE9BBFUxFo9T2OEttT/2WczcCMclSAM1gnLmg1VU2LbaUV0JN8t9ovWkuasnGbTe 6RglnmmOKNPkyucnT56IJXlkjCwDXBUvd7ypX5cTWV1EdocXxIbZFOz6T63wT+Lh6KOW 0JrJozUoxWuPBBQXzwzzBQai85mW3u1RNbD49V3jotfI9QHsoE0opMlsUwvXc72e0oY8 Xn+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=vSqeEeckvpRbZGibNjwUaMyXm8VkQnSd56e/epMHyVQ=; b=ZFtIerACdGeJlaiPqzYxHz42fL5g4xbarkJ1mgZlsY9XEWbNYTwwVT/6XQA0ljlmTW yETgR+HwtXvnkkpHGL91r0vbbGSGV72XamfLwIxVA4+LdvN4XvBQDS+826Y0qff2BK5n lYGlh1qeeHS5W/7oB6UVRJEGNUsABk+Au3FDm1jsTxPlNPDemUNiS9niI3qexYk7czzX hYx5yxTwx0p0qHz/PUK9RxJ5DgKHoPc4xMKn4pa1llPtv0vEWQmPaJsEA8i3UOcmD1aP obVc8IvTR4buxdSOM9buNXWHfNUPRkTV1l18L9GCwqRwWpxId6hLhcyjavixdJwzlw48 l0kg== X-Gm-Message-State: AOAM532BZ+N79qlMf1QrDRrBKvPRDPDqh3uHfS0iNldYF5LQSqLu25Qg n5oBzAwMh+AGnnjNJ2VpI8QXk8oCzJXQFg== X-Google-Smtp-Source: ABdhPJyU53scu18O26IxLx2seqo1666FrNwEmW6JQE0uTUsyEEKPzVYVNeqyTCA7tMSuyMdT+nkhBbNQt05sKQ== X-Received: by 2002:a25:f509:: with SMTP id a9mr32741555ybe.227.1593492328741; Mon, 29 Jun 2020 21:45:28 -0700 (PDT) Date: Mon, 29 Jun 2020 21:45:17 -0700 Message-Id: <20200630044518.1084468-1-davidgow@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.27.0.212.ge8ba1cc988-goog Subject: [PATCH] clk: staging: Specify IOMEM dependency for Xilinx Clocking Wizard driver From: David Gow To: Soren Brinkmann , Greg Kroah-Hartman , Stephen Boyd , Michael Turquette X-BeenThere: driverdev-devel@linuxdriverproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, Brendan Higgins , linux-clk@vger.kernel.org, David Gow , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" The Xilinx Clocking Wizard driver uses the devm_ioremap_resource function, but does not specify a dependency on IOMEM in Kconfig. This causes a build failure on architectures without IOMEM, for example, UML (notably with make allyesconfig). Fix this by making CONFIG_COMMON_CLK_XLNX_CLKWZRD depend on CONFIG_IOMEM. Signed-off-by: David Gow --- drivers/staging/clocking-wizard/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/clocking-wizard/Kconfig b/drivers/staging/clocking-wizard/Kconfig index 04be22dca9b6..69cf51445f08 100644 --- a/drivers/staging/clocking-wizard/Kconfig +++ b/drivers/staging/clocking-wizard/Kconfig @@ -5,6 +5,6 @@ config COMMON_CLK_XLNX_CLKWZRD tristate "Xilinx Clocking Wizard" - depends on COMMON_CLK && OF + depends on COMMON_CLK && OF && IOMEM help Support for the Xilinx Clocking Wizard IP core clock generator. -- 2.27.0.212.ge8ba1cc988-goog _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel