From patchwork Mon Jan 25 22:24:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Weinberger X-Patchwork-Id: 8116641 Return-Path: X-Original-To: patchwork-linux-pm@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 C62939F818 for ; Mon, 25 Jan 2016 22:30:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1C892202AE for ; Mon, 25 Jan 2016 22:30:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3D1B320212 for ; Mon, 25 Jan 2016 22:30:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933074AbcAYWak (ORCPT ); Mon, 25 Jan 2016 17:30:40 -0500 Received: from mail.sigma-star.at ([95.130.255.111]:46000 "EHLO mail.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755379AbcAYWaU (ORCPT ); Mon, 25 Jan 2016 17:30:20 -0500 X-Greylist: delayed 342 seconds by postgrey-1.27 at vger.kernel.org; Mon, 25 Jan 2016 17:30:20 EST Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.sigma-star.at (Postfix) with ESMTP id 5F24D24E0003; Mon, 25 Jan 2016 23:24:35 +0100 (CET) X-Virus-Scanned: amavisd-new at mail.sigma-star.at Received: from localhost.localdomain (chello213047235169.tirol.surfer.at [213.47.235.169]) by mail.sigma-star.at (Postfix) with ESMTPSA id D8B0316B4A24; Mon, 25 Jan 2016 23:24:33 +0100 (CET) From: Richard Weinberger To: linux-kernel@vger.kernel.org Cc: user-mode-linux-devel@lists.sourceforge.net, Richard Weinberger , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Alexandre Belloni , Moritz Fischer , Florian Fainelli , Jun Nie , linux-pm@vger.kernel.org Subject: [PATCH 01/22] power: reset: Fix dependencies for !HAS_IOMEM archs Date: Mon, 25 Jan 2016 23:24:00 +0100 Message-Id: <1453760661-1444-2-git-send-email-richard@nod.at> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1453760661-1444-1-git-send-email-richard@nod.at> References: <1453760661-1444-1-git-send-email-richard@nod.at> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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 Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/power/reset/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 1131cf7..0a6408a 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -148,6 +148,7 @@ config POWER_RESET_KEYSTONE config POWER_RESET_SYSCON bool "Generic SYSCON regmap reset driver" depends on OF + depends on HAS_IOMEM select MFD_SYSCON help Reboot support for generic SYSCON mapped register reset. @@ -155,6 +156,7 @@ config POWER_RESET_SYSCON config POWER_RESET_SYSCON_POWEROFF bool "Generic SYSCON regmap poweroff driver" depends on OF + depends on HAS_IOMEM select MFD_SYSCON help Poweroff support for generic SYSCON mapped register poweroff.