]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Drivers: hv: vmbus: Introduce hv_get_vmbus_root_device()
authorRoman Kisel <romank@linux.microsoft.com>
Mon, 28 Apr 2025 21:07:40 +0000 (14:07 -0700)
committerWei Liu <wei.liu@kernel.org>
Fri, 23 May 2025 16:30:55 +0000 (16:30 +0000)
commit18a34bb5221e2b79dbcba5bb50d92beb45b68e15
treec61b37629ead17cf776f45f627f54d8170744452
parent1dc5df133b98eca75d079e4485ade6b601cadf59
Drivers: hv: vmbus: Introduce hv_get_vmbus_root_device()

The ARM64 PCI code for hyperv needs to know the VMBus root
device, and it is private.

Provide a function that returns it. Rename it from "hv_dev"
as "hv_dev" as a symbol is very overloaded. No functional
changes.

Signed-off-by: Roman Kisel <romank@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/20250428210742.435282-10-romank@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250428210742.435282-10-romank@linux.microsoft.com>
drivers/hv/vmbus_drv.c
include/linux/hyperv.h