summaryrefslogtreecommitdiff
path: root/src/soc/rockchip/rk3288
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/rockchip/rk3288')
-rw-r--r--src/soc/rockchip/rk3288/display.c3
-rw-r--r--src/soc/rockchip/rk3288/include/soc/display.h3
-rw-r--r--src/soc/rockchip/rk3288/soc.c4
3 files changed, 4 insertions, 6 deletions
diff --git a/src/soc/rockchip/rk3288/display.c b/src/soc/rockchip/rk3288/display.c
index 2298d8b6e3..5d3e3336c6 100644
--- a/src/soc/rockchip/rk3288/display.c
+++ b/src/soc/rockchip/rk3288/display.c
@@ -35,8 +35,7 @@
#include "chip.h"
-void rk_display_init(device_t dev, u32 lcdbase,
- unsigned long fb_size)
+void rk_display_init(struct device *dev, u32 lcdbase, unsigned long fb_size)
{
struct edid edid;
uint32_t val;
diff --git a/src/soc/rockchip/rk3288/include/soc/display.h b/src/soc/rockchip/rk3288/include/soc/display.h
index 8ed2ac9129..8ffa9222cf 100644
--- a/src/soc/rockchip/rk3288/include/soc/display.h
+++ b/src/soc/rockchip/rk3288/include/soc/display.h
@@ -23,8 +23,7 @@
#define REF_CLK_24M (0x0 << 0)
#define REF_CLK_27M (0x1 << 0)
-void rk_display_init(device_t dev, u32 lcdbase,
- unsigned long fb_size);
+void rk_display_init(struct device *dev, u32 lcdbase, unsigned long fb_size);
void mainboard_power_on_backlight(void);
diff --git a/src/soc/rockchip/rk3288/soc.c b/src/soc/rockchip/rk3288/soc.c
index c16beb8310..eadbfc8ee2 100644
--- a/src/soc/rockchip/rk3288/soc.c
+++ b/src/soc/rockchip/rk3288/soc.c
@@ -30,7 +30,7 @@
#include "chip.h"
-static void soc_init(device_t dev)
+static void soc_init(struct device *dev)
{
ram_resource(dev, 0, (uintptr_t)_dram/KiB, sdram_size_mb()*(MiB/KiB));
if (display_init_required())
@@ -47,7 +47,7 @@ static struct device_operations soc_ops = {
.scan_bus = 0,
};
-static void enable_rk3288_dev(device_t dev)
+static void enable_rk3288_dev(struct device *dev)
{
dev->ops = &soc_ops;
}