summaryrefstree
path: root/kernel/techpack/audio/include/soc/audio_mod_devicetable.h
blob: 06120345c4ecfe7f04aa3d19caa8cf7753c5e79a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 */

#ifndef AUDIO_MOD_DEVICETABLE_H
#define AUDIO_MOD_DEVICETABLE_H

#include <linux/mod_devicetable.h>

/* soundwire */

#define SOUNDWIRE_NAME_SIZE     32
#define SOUNDWIRE_MODULE_PREFIX "swr:"

struct swr_device_id {
	char name[SOUNDWIRE_NAME_SIZE];
	kernel_ulong_t driver_data;     /* Data private to the driver */
};
#endif /* AUDIO_MOD_DEVICETABLE_H */