|
@@ -135,11 +135,13 @@ ssize_t mipi_dsi_dcs_read(struct mipi_dsi_device *dsi, unsigned int channel,
|
|
* @driver: device driver model driver
|
|
* @driver: device driver model driver
|
|
* @probe: callback for device binding
|
|
* @probe: callback for device binding
|
|
* @remove: callback for device unbinding
|
|
* @remove: callback for device unbinding
|
|
|
|
+ * @shutdown: called at shutdown time to quiesce the device
|
|
*/
|
|
*/
|
|
struct mipi_dsi_driver {
|
|
struct mipi_dsi_driver {
|
|
struct device_driver driver;
|
|
struct device_driver driver;
|
|
int(*probe)(struct mipi_dsi_device *dsi);
|
|
int(*probe)(struct mipi_dsi_device *dsi);
|
|
int(*remove)(struct mipi_dsi_device *dsi);
|
|
int(*remove)(struct mipi_dsi_device *dsi);
|
|
|
|
+ void (*shutdown)(struct mipi_dsi_device *dsi);
|
|
};
|
|
};
|
|
|
|
|
|
#define to_mipi_dsi_driver(d) container_of(d, struct mipi_dsi_driver, driver)
|
|
#define to_mipi_dsi_driver(d) container_of(d, struct mipi_dsi_driver, driver)
|