summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/parade/ps8640/ps8640.c2
-rw-r--r--src/drivers/parade/ps8640/ps8640.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/parade/ps8640/ps8640.c b/src/drivers/parade/ps8640/ps8640.c
index 08de2ee9a6..dea7be3dfd 100644
--- a/src/drivers/parade/ps8640/ps8640.c
+++ b/src/drivers/parade/ps8640/ps8640.c
@@ -25,7 +25,7 @@ int ps8640_get_edid(uint8_t bus, uint8_t chip, struct edid *out)
{
int ret;
u8 edid[EDID_LENGTH * 2];
- u32 edid_size;
+ int edid_size;
i2c_writeb(bus, chip + 2, PAGE2_I2C_BYPASS,
EDID_I2C_ADDR | I2C_BYPASS_EN);
diff --git a/src/drivers/parade/ps8640/ps8640.h b/src/drivers/parade/ps8640/ps8640.h
index 9e483b613b..f7b40061f0 100644
--- a/src/drivers/parade/ps8640/ps8640.h
+++ b/src/drivers/parade/ps8640/ps8640.h
@@ -42,4 +42,3 @@ enum {
int ps8640_init(uint8_t bus, uint8_t chip);
int ps8640_get_edid(uint8_t bus, uint8_t chip, struct edid *out);
#endif
-