summaryrefslogtreecommitdiffstats
path: root/include/linux/mod_devicetable.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2018-06-05 12:27:32 +0100
committerMark Brown <broonie@kernel.org>2018-06-05 12:27:32 +0100
commit5544717d416d9a095edc616be789bdab69e284dc (patch)
tree446ca20ec2ab442c8f05fac769560ded006003f1 /include/linux/mod_devicetable.h
parent2858e2cfc2ef6501bc9a8cccf847a4ee58b5c9bf (diff)
parentff2faf1289c1f81b5b26b9451dd1c2006aac8db8 (diff)
downloadcachepc-linux-5544717d416d9a095edc616be789bdab69e284dc.tar.gz
cachepc-linux-5544717d416d9a095edc616be789bdab69e284dc.zip
Merge branch 'asoc-4.18' into asoc-next
Diffstat (limited to 'include/linux/mod_devicetable.h')
-rw-r--r--include/linux/mod_devicetable.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 7d361be2e24f..2014bd19f28e 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -471,6 +471,17 @@ struct slim_device_id {
kernel_ulong_t driver_data;
};
+#define APR_NAME_SIZE 32
+#define APR_MODULE_PREFIX "apr:"
+
+struct apr_device_id {
+ char name[APR_NAME_SIZE];
+ __u32 domain_id;
+ __u32 svc_id;
+ __u32 svc_version;
+ kernel_ulong_t driver_data; /* Data private to the driver */
+};
+
#define SPMI_NAME_SIZE 32
#define SPMI_MODULE_PREFIX "spmi:"