From patchwork Mon Mar 17 11:15:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Dooks X-Patchwork-Id: 3843091 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CBB9A9F391 for ; Mon, 17 Mar 2014 11:15:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0679720204 for ; Mon, 17 Mar 2014 11:15:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 47C00201F7 for ; Mon, 17 Mar 2014 11:15:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932843AbaCQLP1 (ORCPT ); Mon, 17 Mar 2014 07:15:27 -0400 Received: from access.ducie-dc1.codethink.co.uk ([185.25.241.217]:36126 "EHLO rt.codethink.co.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S932842AbaCQLPW (ORCPT ); Mon, 17 Mar 2014 07:15:22 -0400 Received: from rainbowdash.ducie.codethink.co.uk (localhost [127.0.0.1]) by rt.codethink.co.uk (Postfix) with ESMTPS id E3F6C1A0BFD; Mon, 17 Mar 2014 11:15:20 +0000 (GMT) Received: from ben by rainbowdash.ducie.codethink.co.uk with local (Exim 4.82) (envelope-from ) id 1WPVVn-00078f-IF; Mon, 17 Mar 2014 11:15:19 +0000 From: Ben Dooks To: linux-sh@vger.kernel.org Cc: linux-kernel@lists.codethink.co.uk, Ben Dooks Subject: [RFC 3/6] ARM: shmobile: add sh_pm_runtime_init() to header Date: Mon, 17 Mar 2014 11:15:14 +0000 Message-Id: <1395054917-27390-4-git-send-email-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1395054917-27390-1-git-send-email-ben.dooks@codethink.co.uk> References: <1395054917-27390-1-git-send-email-ben.dooks@codethink.co.uk> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Add definition of sh_pm_runtime_init() to machine header to allow calling the pm_runtime initialisation code. Signed-off-by: Ben Dooks --- arch/arm/mach-shmobile/include/mach/common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h index cb8e32d..4727d4f 100644 --- a/arch/arm/mach-shmobile/include/mach/common.h +++ b/arch/arm/mach-shmobile/include/mach/common.h @@ -52,4 +52,6 @@ static inline void __init shmobile_init_late(void) shmobile_cpuidle_init(); } +extern int sh_pm_runtime_init(void); + #endif /* __ARCH_MACH_COMMON_H */