1 /* SPDX-License-Identifier: GPL-2.0 */
3 * move this to include/linux/mod_devicetable.h when merging
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
{
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 */