All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: lee.jones@linaro.org
Cc: linux-kernel@vger.kernel.org,
	Elliot Berman <eberman@codeaurora.org>,
	Sebastian Reichel <sre@kernel.org>
Subject: [PATCH v2 3/3] power: reset: Enable tristate on restart power-off driver
Date: Thu,  9 Sep 2021 13:04:21 +0100	[thread overview]
Message-ID: <20210909120421.1313908-4-lee.jones@linaro.org> (raw)
In-Reply-To: <20210909120421.1313908-1-lee.jones@linaro.org>

From: Elliot Berman <eberman@codeaurora.org>

Since reboot_mode is an exported symbol, restart power-off driver can be
compiled as module.

Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Sebastian Reichel <sre@kernel.org>
---
 drivers/power/reset/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index 4d1192062508d..e155b2e2a75c4 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -192,7 +192,7 @@ config POWER_RESET_REGULATOR
 	  power regulator defined in the devicetree.
 
 config POWER_RESET_RESTART
-	bool "Restart power-off driver"
+	tristate "Restart power-off driver"
 	help
 	  Some boards don't actually have the ability to power off.
 	  Instead they restart, and u-boot holds the SoC until the
-- 
2.33.0.153.gba50c8fa24-goog


      parent reply	other threads:[~2021-09-09 14:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-09 12:04 [PATCH v2 0/3] power: reset: Convert Power-Off driver to tristate Lee Jones
2021-09-09 12:04 ` Lee Jones
2021-09-09 12:04 ` Lee Jones
2021-09-09 12:04 ` [OpenRISC] " Lee Jones
2021-09-09 12:04 ` Lee Jones
2021-09-09 12:04 ` Lee Jones
2021-09-09 12:04 ` Lee Jones
2021-09-09 12:04 ` Lee Jones
2021-09-09 12:04 ` [PATCH v2 1/3] arch: Export machine_restart() instances so they can be called from modules Lee Jones
2021-09-09 12:04   ` Lee Jones
2021-09-09 12:04   ` [OpenRISC] " Lee Jones
2021-09-09 12:04   ` Lee Jones
2021-09-09 12:04   ` Lee Jones
2021-09-09 12:04   ` Lee Jones
2021-09-09 12:04 ` [PATCH v2 2/3] reboot: Export reboot_mode Lee Jones
2021-09-09 12:04 ` Lee Jones [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210909120421.1313908-4-lee.jones@linaro.org \
    --to=lee.jones@linaro.org \
    --cc=eberman@codeaurora.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.