difos/target/linux/starfive/patches-6.12/1004-power-reset-tps65086-Allow-building-as-a-module.patch
Zoltan HERPAI 8f0f02d297 starfive: 6.12: refresh patches and drop upstreamed ones
- refresh, rebase and reorder patches
 - JH7110 media drivers have been dropped for now
 - JH7110 E24 and mailbox drivers were added
 - JH7100 DMA- and errata-patches have been dropped as they were
   upstreamed

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2025-06-05 16:39:15 +02:00

29 lines
1.1 KiB
Diff

From 995a9b41dd4e29d02ec549170f917b301d8a6d36 Mon Sep 17 00:00:00 2001
From: Emil Renner Berthing <kernel@esmil.dk>
Date: Sun, 3 Jul 2022 21:01:11 +0200
Subject: [PATCH 1004/1021] power: reset: tps65086: Allow building as a module
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
---
drivers/power/reset/Kconfig | 2 +-
drivers/power/reset/tps65086-restart.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -217,7 +217,7 @@ config POWER_RESET_ST
Reset support for STMicroelectronics boards.
config POWER_RESET_TPS65086
- bool "TPS65086 restart driver"
+ tristate "TPS65086 restart driver"
depends on MFD_TPS65086
help
This driver adds support for resetting the TPS65086 PMIC on restart.
--- a/drivers/power/reset/tps65086-restart.c
+++ b/drivers/power/reset/tps65086-restart.c
@@ -57,3 +57,4 @@ module_platform_driver(tps65086_restart_
MODULE_AUTHOR("Emil Renner Berthing <kernel@esmil.dk>");
MODULE_DESCRIPTION("TPS65086 restart driver");
+MODULE_LICENSE("GPL v2");