From patchwork Tue Jun 30 04:45:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gow X-Patchwork-Id: 11633071 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D756C13B4 for ; Tue, 30 Jun 2020 04:45:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BA38620674 for ; Tue, 30 Jun 2020 04:45:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="gyNi5aAT" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728826AbgF3Epa (ORCPT ); Tue, 30 Jun 2020 00:45:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728557AbgF3Ep3 (ORCPT ); Tue, 30 Jun 2020 00:45:29 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B12A3C03E979 for ; Mon, 29 Jun 2020 21:45:29 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id z7so21343319ybz.1 for ; Mon, 29 Jun 2020 21:45:29 -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=qdRm9ENFC7n50wFQykS7dXuBDSCWYd6jWfLwug5QCjy3oPSO5xIjyOVp4sKGgVYypD 1fxRGKlpHdGypIK2h4UNYmmZHSuVDfdv3wDUscALekb4I0yM/eJI/ph8bnRR3CkE5X22 41ouqKRlzYETHqGMs/ca+DKz+4gGs6l6DEkYwMccy92Wq8tsqNEqI6L7RgvxeRwQvj9e AvVMzjTYjJkYuimzCIKcOdr5rAByabF5Cjs9pMcMbg7XMVf6wFIAVoYxPkiiODdi3cKR 43d6xp1rOxqafxhdKBBW4p8w4aSqsYM2yVHHSgufl1M06kjclQPr8AIB7dJopK4g/Pub PdaA== X-Gm-Message-State: AOAM530dNY+QWrpp+FkkjHQ5kQCDWhgiAu5/WCp3nURh0dI+moGbqE83 e3Y+kx2V3V+yMIM6Cg0d3X/GdwxcTm9Gbg== 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 Cc: linux-clk@vger.kernel.org, devel@driverdev.osuosl.org, Brendan Higgins , linux-kernel@vger.kernel.org, David Gow Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org 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.