Commit f24e5b44 authored by Seungjin Bae's avatar Seungjin Bae Committed by Greg Kroah-Hartman
Browse files

usb: host: xhci-plat: fix incorrect type for of_match variable in xhci_plat_probe()



[ Upstream commit d9e496a9 ]

The variable `of_match` was incorrectly declared as a `bool`.
It is assigned the return value of of_match_device(), which is a pointer of
type `const struct of_device_id *`.

Fixes: 16b7e0cc ("USB: xhci-plat: fix legacy PHY double init")
Signed-off-by: default avatarSeungjin Bae <eeodqql09@gmail.com>
Link: https://lore.kernel.org/r/20250619055746.176112-2-eeodqql09@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 44880090
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment