summaryrefslogtreecommitdiff
path: root/src/drivers/parade
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2016-03-12 09:28:59 +0100
committerPatrick Georgi <pgeorgi@google.com>2016-03-16 15:02:46 +0100
commitdb2815ecf41bb76e39e27264466dc871a9d046a5 (patch)
treecba2a7ed17865b1545c9dec768a0223ef877367a /src/drivers/parade
parent80547369eaedc8ff7d3d987f4bd0a5614258f1d6 (diff)
downloadcoreboot-db2815ecf41bb76e39e27264466dc871a9d046a5.tar.xz
parade/ps8640: Clean up
Sort out some style issues that were identified by Paul. Change-Id: I9ed946ae613c87234f8c9824eb14b8d28909dfcf Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/14064 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/drivers/parade')
-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
-