Skip to content

Commit 6c35ca0

Browse files
committed
Merge tag 'reset-fixes-for-v5.14' of git://git.pengutronix.de/pza/linux into arm/fixes
Reset controller fixes for v5.14 Hide the Sparx5 reset driver unless the ARCH_SPARX5 or COMPILE_TEST options are enabled, to avoid unnecessarily asking users about this driver. Fix a return value argument type in the ZynqMP reset driver. * tag 'reset-fixes-for-v5.14' of git://git.pengutronix.de/pza/linux: reset: reset-zynqmp: Fixed the argument data type reset: RESET_MCHP_SPARX5 should depend on ARCH_SPARX5 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents e22ce8e + ed104ca commit 6c35ca0

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)