Message ID | 1476483282-85971-3-git-send-email-christopher.lee.bostic@gmail.com |
---|---|
State | Changes Requested, archived |
Headers | show |
diff --git a/include/linux/fsi.h b/include/linux/fsi.h index 8e8bdea..66dcf25 100644 --- a/include/linux/fsi.h +++ b/include/linux/fsi.h @@ -18,6 +18,17 @@ #include <linux/device.h> +struct fsi_device { + struct device dev; +}; + +struct fsi_driver { + struct device_driver drv; +}; + +#define to_fsi_dev(devp) container_of(devp, struct fsi_device, dev) +#define to_fsi_drv(drvp) container_of(drvp, struct fsi_driver, drv) + extern struct bus_type fsi_bus_type; #endif /* LINUX_FSI_H */