diff options
Diffstat (limited to 'drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c')
-rw-r--r-- | drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c b/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c index 890fd6ff397c..d964d454e4ae 100644 --- a/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c +++ b/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | |||
@@ -221,7 +221,7 @@ static struct rpi_touchscreen *panel_to_ts(struct drm_panel *panel) | |||
221 | return container_of(panel, struct rpi_touchscreen, base); | 221 | return container_of(panel, struct rpi_touchscreen, base); |
222 | } | 222 | } |
223 | 223 | ||
224 | static u8 rpi_touchscreen_i2c_read(struct rpi_touchscreen *ts, u8 reg) | 224 | static int rpi_touchscreen_i2c_read(struct rpi_touchscreen *ts, u8 reg) |
225 | { | 225 | { |
226 | return i2c_smbus_read_byte_data(ts->i2c, reg); | 226 | return i2c_smbus_read_byte_data(ts->i2c, reg); |
227 | } | 227 | } |