diff options
| author | Thierry Reding <treding@nvidia.com> | 2014-07-21 06:22:26 -0400 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2014-07-22 03:06:16 -0400 |
| commit | 371c359f83b4d19d2688e975a07dc44add307e24 (patch) | |
| tree | 1e3d4e229d06f1fde121ee06e2423aa8b156cd57 /include/drm | |
| parent | 102932b0e474bb33061e88bcf5d83e66f10c1da2 (diff) | |
drm/dsi: Make mipi_dsi_dcs_write() return ssize_t
This function returns the value of the struct mipi_dsi_host_ops'
.transfer() so make sure the return types are consistent.
Acked-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/drm')
| -rw-r--r-- | include/drm/drm_mipi_dsi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index efa1b552adc5..4b0112781910 100644 --- a/include/drm/drm_mipi_dsi.h +++ b/include/drm/drm_mipi_dsi.h | |||
| @@ -127,8 +127,8 @@ struct mipi_dsi_device { | |||
| 127 | 127 | ||
| 128 | int mipi_dsi_attach(struct mipi_dsi_device *dsi); | 128 | int mipi_dsi_attach(struct mipi_dsi_device *dsi); |
| 129 | int mipi_dsi_detach(struct mipi_dsi_device *dsi); | 129 | int mipi_dsi_detach(struct mipi_dsi_device *dsi); |
| 130 | int mipi_dsi_dcs_write(struct mipi_dsi_device *dsi, unsigned int channel, | 130 | ssize_t mipi_dsi_dcs_write(struct mipi_dsi_device *dsi, unsigned int channel, |
| 131 | const void *data, size_t len); | 131 | const void *data, size_t len); |
| 132 | ssize_t mipi_dsi_dcs_read(struct mipi_dsi_device *dsi, unsigned int channel, | 132 | ssize_t mipi_dsi_dcs_read(struct mipi_dsi_device *dsi, unsigned int channel, |
| 133 | u8 cmd, void *data, size_t len); | 133 | u8 cmd, void *data, size_t len); |
| 134 | 134 | ||
