From patchwork Wed Mar 29 01:57:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Gerlach X-Patchwork-Id: 9650797 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 286AD601E9 for ; Wed, 29 Mar 2017 02:00:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 185CE28405 for ; Wed, 29 Mar 2017 02:00:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D17928447; Wed, 29 Mar 2017 02:00:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A098B28405 for ; Wed, 29 Mar 2017 02:00:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=K8E2rEYLfNFDveTCtwVEKjavrD2fCML20YxPj3e2W7k=; b=aKjLQsz/vfjYvi ZmLZl4PKKkPy9fRLx1YABlZc5GJ0eB/iNxpoHJ8o2/fEYAoQKUQxsI2vnNzH4L9vvtSMGeRYqXzIq LIl3nDizTJvwqPhNgQsD+9CA3gVYI6z66oGj9vQpIc0SMiExMZAaT8gj9XsRtsCWMCQ1JHf4T6PGg /uiuYRbt8+xT0oW8utmIv6N9g6pJwM2v50LS/sllZeMFCOHcjtg8skQxeNMM4mxVf+efZpqe5ncqE H5l50XMU12I9FwhLr/ot0QK71L9dj593PDowiUywZ3cWqi6MScvtdNCgG1ODJpCz2LJzEC4C9xKuu ulWNaC56vAJzYxS56YzQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ct2tz-0007Pp-Qy; Wed, 29 Mar 2017 01:59:59 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ct2tB-0006kS-VS for linux-arm-kernel@bombadil.infradead.org; Wed, 29 Mar 2017 01:59:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=tQRkcKU+hfiCAoLpPG7aKB0iZydAaK7k6h01E0vS8oo=; b=0oocxVWuy84U0PFZlK7P6vzcS ++67pCU47WihLPotoEvIRMYyZUf5POtXjGREKd9TWODbPk7LVMr+S8cW6E1QvU6cpIW34r/PFtAQo Tm+CuXrWm4HBoYQqLkXA3lW2dW8eLYSgzta6rXLHJ4w12yJzHTrT0qv3zuFlNeSVzHljiA5cUurjt YWFgp8gu4tFb064ljxmgCr86bZkOEO6YuKEFn5FeoUI0pooYJr9m0uYekuHf8NMLX0cjCOmayER5A eNmtbBWMAmozzdNOCdS90mfvWMdoB6lgQYFGBAQdTT5IMchaJ6DuPDvvbHhSEBPdOw4uwJCO40cZE JfV6/elFg==; Received: from fllnx210.ext.ti.com ([198.47.19.17]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ct2tA-0006fI-Md for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2017 01:59:09 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v2T1wPas016461; Tue, 28 Mar 2017 20:58:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1490752705; bh=b+D281rdGXNNgEDKWKEqPhWQWRu0xOCRs2pJIpFdxtU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=NYtMtKV5jEaXwlriWlu8MD+YOreMXOrSCBpcfiLkMNHwA4UrJ3wtIXDmKNFMYj7UI pmNZuKGhm+V3VTOsd2pvRUE57ntVb9l1bN106dFlxjk0lCSepua0mw/gJW/zYTzTbQ O/J5X8XicJ50ulFYVyuDjsLgyWz8DXpTlYZBwASE= Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v2T1wPHC031872; Tue, 28 Mar 2017 20:58:25 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.294.0; Tue, 28 Mar 2017 20:58:24 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v2T1wOxQ013684; Tue, 28 Mar 2017 20:58:24 -0500 Received: from localhost (uda0274052.am.dhcp.ti.com [128.247.83.19]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id v2T1wO315420; Tue, 28 Mar 2017 20:58:24 -0500 (CDT) From: Dave Gerlach To: Tony Lindgren , Santosh Shilimkar , Russell King Subject: [PATCH 3/8] ARM: OMAP2+: pm: Remove __init from omap_pm_clkdms_setup Date: Tue, 28 Mar 2017 20:57:56 -0500 Message-ID: <20170329015801.22240-4-d-gerlach@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170329015801.22240-1-d-gerlach@ti.com> References: <20170329015801.22240-1-d-gerlach@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170328_215908_816927_1C2038B9 X-CRM114-Status: UNSURE ( 7.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Keerthy J , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Dave Gerlach Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP omap_pm_clkdms_setup gets called from pm init functions and now that pm33xx and pm43xx can be loaded as modules this must be kept to be called at any point during runtime. Signed-off-by: Dave Gerlach --- arch/arm/mach-omap2/pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index 0598630c1778..486d3179af07 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c @@ -71,7 +71,7 @@ void omap_pm_get_oscillator(u32 *tstart, u32 *tshut) } #endif -int __init omap_pm_clkdms_setup(struct clockdomain *clkdm, void *unused) +int omap_pm_clkdms_setup(struct clockdomain *clkdm, void *unused) { clkdm_allow_idle(clkdm); return 0;