Message ID | 1477053673-16021-5-git-send-email-hardik.t.shah@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index ed84c07..f443152 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h @@ -672,5 +672,18 @@ struct fsl_mc_device_id { const char obj_type[16]; }; +/* SoundWire */ +#define SOUNDWIRE_NAME_SIZE 32 +#define SOUNDWIRE_MODULE_PREFIX "sdw:" + +struct sdw_slave_id { + char name[SOUNDWIRE_NAME_SIZE]; + kernel_ulong_t driver_data; /* Data private to the driver */ +}; + +struct sdw_master_id { + char name[SOUNDWIRE_NAME_SIZE]; + kernel_ulong_t driver_data; /* Data private to the driver */ +}; #endif /* LINUX_MOD_DEVICETABLE_H */