#include <linux/device.h>
#define to_siox_device(_dev) …
struct siox_device { … };
bool siox_device_synced(struct siox_device *sdevice);
bool siox_device_connected(struct siox_device *sdevice);
struct siox_driver { … };
static inline struct siox_driver *to_siox_driver(struct device_driver *driver)
{ … }
int __siox_driver_register(struct siox_driver *sdriver, struct module *owner);
static inline int siox_driver_register(struct siox_driver *sdriver)
{ … }
static inline void siox_driver_unregister(struct siox_driver *sdriver)
{ … }
#define module_siox_driver(__siox_driver) …