Skip to content

Commit 6f18b82

Browse files
committed
Merge tag 'soc-fixes-5.14-4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC fixes from Arnd Bergmann: "Just two trivial fixes from the reset driver tree, nothing else came up since the last soc fixes" * tag 'soc-fixes-5.14-4' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: reset: reset-zynqmp: Fixed the argument data type reset: RESET_MCHP_SPARX5 should depend on ARCH_SPARX5
2 parents 8f9d034 + 6c35ca0 commit 6f18b82

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

drivers/reset/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ config RESET_LPC18XX
116116

117117
config RESET_MCHP_SPARX5
118118
bool "Microchip Sparx5 reset driver"
119-
depends on HAS_IOMEM || COMPILE_TEST
119+
depends on ARCH_SPARX5 || COMPILE_TEST
120120
default y if SPARX5_SWITCH
121121
select MFD_SYSCON
122122
help

drivers/reset/reset-zynqmp.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ static int zynqmp_reset_status(struct reset_controller_dev *rcdev,
5353
unsigned long id)
5454
{
5555
struct zynqmp_reset_data *priv = to_zynqmp_reset_data(rcdev);
56-
int val, err;
56+
int err;
57+
u32 val;
5758

5859
err = zynqmp_pm_reset_get_status(priv->data->reset_id + id, &val);
5960
if (err)

0 commit comments

Comments
 (0)