summaryrefslogtreecommitdiff
path: root/include/linux/device-id/hv_vmbus.h
blob: a7682c05619fc9b4e7f0ad9e5c8f5fab6138f33b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef LINUX_DEVICE_ID_HV_VMBUS_H
#define LINUX_DEVICE_ID_HV_VMBUS_H

#ifdef __KERNEL__
#include <linux/uuid.h>
typedef unsigned long kernel_ulong_t;
#endif

/*
 * For Hyper-V devices we use the device guid as the id.
 */
struct hv_vmbus_device_id {
	guid_t guid;
	kernel_ulong_t driver_data;	/* Data private to the driver */
};

#endif /* ifndef LINUX_DEVICE_ID_HV_VMBUS_H */