linux/drivers/reset/hisilicon
Krzysztof Kozlowski b5ec294472 reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning
'type' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:

  hi6220_reset.c:166:9: error: cast to smaller integer type 'enum hi6220_reset_ctrl_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230810091300.70197-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
2023-11-24 11:26:19 +01:00
..
hi6220_reset.c reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning 2023-11-24 11:26:19 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
reset-hi3660.c reset: hisilicon: Use dev_err_probe instead of dev_err 2023-07-28 18:07:01 +02:00