Skip to content

Commit 09427e1

Browse files
committed
Merge tag 'riscv-soc-for-v6.7' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux into soc/drivers
RISC-V SoC drivers for v6.7 Minor changes here only. There's the treewide remove callback work from Uwe, some of my own gradual conversion of SOC_ Kconfig options and a selection of the ARM AMBA protocol required for the crypto driver on StarFive JH7110 SoCs. The latter was supposed to be in v6.6, but I forgot to send a PR. Signed-off-by: Conor Dooley <conor.dooley@microchip.com> * tag 'riscv-soc-for-v6.7' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux: soc/microchip: mpfs-sys-controller: Convert to platform remove callback returning void soc: sifive: replace SOC_FOO with ARCH_FOO riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE Link: https://lore.kernel.org/r/20231016-predator-affiliate-e8affd3a7be9@spud Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents 15c46d8 + 22dedf8 commit 09427e1

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

arch/riscv/Kconfig.socs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ config SOC_STARFIVE
2929
bool "StarFive SoCs"
3030
select PINCTRL
3131
select RESET_CONTROLLER
32+
select ARM_AMBA
3233
help
3334
This enables support for StarFive SoC platform hardware.
3435

drivers/soc/microchip/mpfs-sys-controller.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,11 @@ static int mpfs_sys_controller_probe(struct platform_device *pdev)
149149
return 0;
150150
}
151151

152-
static int mpfs_sys_controller_remove(struct platform_device *pdev)
152+
static void mpfs_sys_controller_remove(struct platform_device *pdev)
153153
{
154154
struct mpfs_sys_controller *sys_controller = platform_get_drvdata(pdev);
155155

156156
mpfs_sys_controller_put(sys_controller);
157-
158-
return 0;
159157
}
160158

161159
static const struct of_device_id mpfs_sys_controller_of_match[] = {
@@ -207,7 +205,7 @@ static struct platform_driver mpfs_sys_controller_driver = {
207205
.of_match_table = mpfs_sys_controller_of_match,
208206
},
209207
.probe = mpfs_sys_controller_probe,
210-
.remove = mpfs_sys_controller_remove,
208+
.remove_new = mpfs_sys_controller_remove,
211209
};
212210
module_platform_driver(mpfs_sys_controller_driver);
213211

drivers/soc/sifive/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3-
if SOC_SIFIVE || SOC_STARFIVE
3+
if ARCH_SIFIVE || ARCH_STARFIVE
44

55
config SIFIVE_CCACHE
66
bool "Sifive Composable Cache controller"

0 commit comments

Comments
 (0)