Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / linux / greybus / greybus_id.h
blobf4c8440093e45eccd6abb81d70554aa49d7098e2
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* FIXME
3 * move this to include/linux/mod_devicetable.h when merging
4 */
6 #ifndef __LINUX_GREYBUS_ID_H
7 #define __LINUX_GREYBUS_ID_H
9 #include <linux/types.h>
10 #include <linux/mod_devicetable.h>
13 struct greybus_bundle_id {
14 __u16 match_flags;
15 __u32 vendor;
16 __u32 product;
17 __u8 class;
19 kernel_ulong_t driver_info __aligned(sizeof(kernel_ulong_t));
22 /* Used to match the greybus_bundle_id */
23 #define GREYBUS_ID_MATCH_VENDOR BIT(0)
24 #define GREYBUS_ID_MATCH_PRODUCT BIT(1)
25 #define GREYBUS_ID_MATCH_CLASS BIT(2)
27 #endif /* __LINUX_GREYBUS_ID_H */