diff options
author | Seungjin Bae <eeodqql09@gmail.com> | 2025-06-19 01:57:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-15 16:38:26 +0200 |
commit | a41ba06ede5dc9fb177b852a715329bd53566f0a (patch) | |
tree | 23165408b6036c6c34854313650a9cf71e732d07 /rust/kernel/types.rs | |
parent | 90bed1b547b157a3de20463992821c0f28181f87 (diff) |
usb: host: xhci-plat: fix incorrect type for of_match variable in xhci_plat_probe()
[ Upstream commit d9e496a9fb4021a9e6b11e7ba221a41a2597ac27 ]
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: 16b7e0cccb243 ("USB: xhci-plat: fix legacy PHY double init")
Signed-off-by: Seungjin Bae <eeodqql09@gmail.com>
Link: https://lore.kernel.org/r/20250619055746.176112-2-eeodqql09@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'rust/kernel/types.rs')
0 files changed, 0 insertions, 0 deletions