xref: /linux/include/linux/device-id/apr.h (revision d2c9a99135da931377240942d44f3dea104cedb8)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef LINUX_DEVICE_ID_APR_H
3 #define LINUX_DEVICE_ID_APR_H
4 
5 #ifdef __KERNEL__
6 #include <linux/types.h>
7 typedef unsigned long kernel_ulong_t;
8 #endif
9 
10 #define APR_NAME_SIZE	32
11 #define APR_MODULE_PREFIX "apr:"
12 
13 struct apr_device_id {
14 	char name[APR_NAME_SIZE];
15 	__u32 domain_id;
16 	__u32 svc_id;
17 	__u32 svc_version;
18 	kernel_ulong_t driver_data;	/* Data private to the driver */
19 };
20 
21 #endif /* ifndef LINUX_DEVICE_ID_APR_H */
22