Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1932229imm; Thu, 2 Aug 2018 03:35:49 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdqCdKs4zRXXbo4pIlzfCL0GkVZMlynFlasv/r0zejE5G5ghCidTRv/IlGDyTb0bX+FHjzZ X-Received: by 2002:a63:ae02:: with SMTP id q2-v6mr2135363pgf.189.1533206149235; Thu, 02 Aug 2018 03:35:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533206149; cv=none; d=google.com; s=arc-20160816; b=yQNBF9T09hHZ8z1RI0RRrvp/CowpeAC7VRknTpqApUWdYB/ysQLzy1lXIu3NsTxhV9 cr7fP+uSY/fdzCouea8YAc0YXICbzgDUUiL4/a1gUT+rttfSaZiR/qp/Bu2RjszEkhIe DktrBlb7ePZ8r0qoewHLsdjSvSfF/NqPoD6t30Da3MWIsb+XPrKAAmK2pK4R5jlSmBCk FJnkqT9UfJbknIiakf09wUrS6zIYTzhp7ZDJWGL1UfENr0aAeU6NEAMqfUdLqLuYfQCt Uoew4GAJdQfD4c8T5ka1RtspWckAkWd8SeCJDpk8Yiwni85kmPuHuL1a9447V2HjPdDA PD3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=IUKimIjZeprqHeuFGAA+sdCtkDulv+UWBrnuZEqvB54=; b=KmmkTYAO96Gwa92wPJPV6mOe3TzMp0LSIeP9zf4DT1TpwcFSI5Bl6XowwHvk2hAiWo 0YYJddonPaZ/1NjNpOtZNTo5BTxhZApROKzJNDDlZfs8iAzHV1WLIrR+OLR3JYU040OO YGDtMyQQMQ5dkuOBDBydSBKj73Zv+0IFnriQzlVZz4+zYcCU792rhsNEgnT4n1eu2nvQ /hJX4MgweolW/D9wqOJbCO89AIJ13KSZHbKKhbedyPFhzhSu9SiLOJlsnUC6oYtYFlxY enPU3AiPc1ie+EVhiv5iBXsWvqlw5HWG2Ky5cDA3mrQc+E+82mZF5JWSpvWjXLA+tunB CdeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3-v6si1176269pld.281.2018.08.02.03.35.33; Thu, 02 Aug 2018 03:35:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732189AbeHBMZK (ORCPT + 99 others); Thu, 2 Aug 2018 08:25:10 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:41699 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732033AbeHBMZI (ORCPT ); Thu, 2 Aug 2018 08:25:08 -0400 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1flAw9-0004Zw-Mj; Thu, 02 Aug 2018 12:34:29 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.91) (envelope-from ) id 1flAw6-0000og-Su; Thu, 02 Aug 2018 12:34:26 +0200 From: Oleksij Rempel To: Shawn Guo , Mark Brown , "Rafael J. Wysocki" Cc: Oleksij Rempel , kernel@pengutronix.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , Liam Girdwood , Leonard Crestez , Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd , Fabio Estevam , Russell King , linux-imx@nxp.com, yibin.gong@nxp.com, "A.s. Dong" Subject: [PATCH v9 3/6] kernel/reboot.c: export pm_power_off_prepare Date: Thu, 2 Aug 2018 12:34:22 +0200 Message-Id: <20180802103425.3053-4-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180802103425.3053-1-o.rempel@pengutronix.de> References: <20180802103425.3053-1-o.rempel@pengutronix.de> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Export pm_power_off_prepare. It is needed to implement power off on Freescale/NXP iMX6 based boards with external power management integrated circuit (PMIC). Signed-off-by: Oleksij Rempel --- kernel/reboot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/reboot.c b/kernel/reboot.c index e4ced883d8de..83810d726f3e 100644 --- a/kernel/reboot.c +++ b/kernel/reboot.c @@ -49,6 +49,7 @@ int reboot_force; */ void (*pm_power_off_prepare)(void); +EXPORT_SYMBOL_GPL(pm_power_off_prepare); /** * emergency_restart - reboot the system -- 2.18.0