#ifndef __SOUNDWIRE_TYPES_H
#define __SOUNDWIRE_TYPES_H
extern const struct bus_type sdw_bus_type;
extern const struct device_type sdw_slave_type;
extern const struct device_type sdw_master_type;
static inline int is_sdw_slave(const struct device *dev)
{ … }
#define drv_to_sdw_driver(_drv) …
#define sdw_register_driver(drv) …
int __sdw_register_driver(struct sdw_driver *drv, struct module *owner);
void sdw_unregister_driver(struct sdw_driver *drv);
int sdw_slave_uevent(const struct device *dev, struct kobj_uevent_env *env);
#define module_sdw_driver(__sdw_driver) …
#endif