
Add definition for sound wire device id Change-Id: I2b599d96abdb880bdeb60153e03e6123e337bfe9 Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
22 baris
474 B
C
22 baris
474 B
C
/* 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 */
|
|
|