defconfig: exynos9610: Re-add dropped Wi-Fi AP options lost
[GitHub/LineageOS/android_kernel_motorola_exynos9610.git] / drivers / staging / greybus / greybus_id.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
c8a797a9
GKH
2/* FIXME
3 * move this to include/linux/mod_devicetable.h when merging
4 */
5
6#ifndef __LINUX_GREYBUS_ID_H
7#define __LINUX_GREYBUS_ID_H
8
9#include <linux/types.h>
10#include <linux/mod_devicetable.h>
11
12
9f5f30e7 13struct greybus_bundle_id {
c8a797a9 14 __u16 match_flags;
f65fa47f
JH
15 __u32 vendor;
16 __u32 product;
88e6d37c 17 __u8 class;
c8a797a9 18
c4f37c62 19 kernel_ulong_t driver_info __aligned(sizeof(kernel_ulong_t));
c8a797a9
GKH
20};
21
9f5f30e7 22/* Used to match the greybus_bundle_id */
2f0c8aa4 23#define GREYBUS_ID_MATCH_VENDOR BIT(0)
0e51032f 24#define GREYBUS_ID_MATCH_PRODUCT BIT(1)
8a285fed 25#define GREYBUS_ID_MATCH_CLASS BIT(2)
c8a797a9 26
0e51032f 27#endif /* __LINUX_GREYBUS_ID_H */