include: soc: Add gpr device definition
Add definition for gpr device id. Change-Id: Ibfda76eb8a0d1e8871e29fd170f7d96eed3d622f Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
bc326d21fd
commit
b2dea4a689
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2020 The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef AUDIO_MOD_DEVICETABLE_H
|
||||
@@ -17,5 +17,18 @@ struct swr_device_id {
|
||||
char name[SOUNDWIRE_NAME_SIZE];
|
||||
kernel_ulong_t driver_data; /* Data private to the driver */
|
||||
};
|
||||
|
||||
/* gpr */
|
||||
#define GPR_NAME_SIZE 32
|
||||
#define GPR_MODULE_PREFIX "gpr:"
|
||||
|
||||
struct gpr_device_id {
|
||||
char name[GPR_NAME_SIZE];
|
||||
__u32 domain_id;
|
||||
__u32 svc_id;
|
||||
__u32 svc_version;
|
||||
kernel_ulong_t driver_data; /* Data private to the driver */
|
||||
};
|
||||
|
||||
#endif /* AUDIO_MOD_DEVICETABLE_H */
|
||||
|
||||
|
Reference in New Issue
Block a user