diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2026-07-08 13:00:55 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2026-07-08 13:00:55 +0200 |
| commit | e7743a6b0334dcaa9eca3a4103f74963664ff563 (patch) | |
| tree | d936ff994cf5f96da054e64872c54e4ccffc0d32 /include/linux/device-id/mhi.h | |
| parent | cdd12b8d71246a11b885f65a024accd232aca658 (diff) | |
| parent | 0461ba9a7994a9bfa2ceefe730e2c87759edc267 (diff) | |
Merge drm/drm-next into drm-misc-next
Backmerging to get updates from v7.2-rc2 into drm-misc-next.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Diffstat (limited to 'include/linux/device-id/mhi.h')
| -rw-r--r-- | include/linux/device-id/mhi.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/device-id/mhi.h b/include/linux/device-id/mhi.h new file mode 100644 index 000000000000..30a27a71a57f --- /dev/null +++ b/include/linux/device-id/mhi.h @@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef LINUX_DEVICE_ID_MHI_H +#define LINUX_DEVICE_ID_MHI_H + +#ifdef __KERNEL__ +typedef unsigned long kernel_ulong_t; +#endif + +#define MHI_DEVICE_MODALIAS_FMT "mhi:%s" +#define MHI_NAME_SIZE 32 + +#define MHI_EP_DEVICE_MODALIAS_FMT "mhi_ep:%s" + +/** + * struct mhi_device_id - MHI device identification + * @chan: MHI channel name + * @driver_data: driver data; + */ +struct mhi_device_id { + const char chan[MHI_NAME_SIZE]; + kernel_ulong_t driver_data; +}; + +#endif /* ifndef LINUX_DEVICE_ID_MHI_H */ |
