diff options
Diffstat (limited to 'src/soc/rockchip/rk3399')
-rw-r--r-- | src/soc/rockchip/rk3399/display.c | 2 | ||||
-rw-r--r-- | src/soc/rockchip/rk3399/include/soc/display.h | 2 | ||||
-rw-r--r-- | src/soc/rockchip/rk3399/soc.c | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/soc/rockchip/rk3399/display.c b/src/soc/rockchip/rk3399/display.c index f27d78ed86..43b9daba18 100644 --- a/src/soc/rockchip/rk3399/display.c +++ b/src/soc/rockchip/rk3399/display.c @@ -48,7 +48,7 @@ static void reset_edp(void) printk(BIOS_WARNING, "Retrying EDP initialization.\n"); } -void rk_display_init(device_t dev) +void rk_display_init(struct device *dev) { struct edid edid; struct soc_rockchip_rk3399_config *conf = dev->chip_info; diff --git a/src/soc/rockchip/rk3399/include/soc/display.h b/src/soc/rockchip/rk3399/include/soc/display.h index 494def61d8..880ac8ab4f 100644 --- a/src/soc/rockchip/rk3399/include/soc/display.h +++ b/src/soc/rockchip/rk3399/include/soc/display.h @@ -21,7 +21,7 @@ #define REF_CLK_24M (0x1 << 0) -void rk_display_init(device_t dev); +void rk_display_init(struct device *dev); void mainboard_power_on_backlight(void); const struct mipi_panel_data *mainboard_get_mipi_mode (struct edid_mode *edid_mode); diff --git a/src/soc/rockchip/rk3399/soc.c b/src/soc/rockchip/rk3399/soc.c index 37de652983..30f51d0ef5 100644 --- a/src/soc/rockchip/rk3399/soc.c +++ b/src/soc/rockchip/rk3399/soc.c @@ -27,12 +27,12 @@ #include <symbols.h> #include <arm-trusted-firmware/plat/rockchip/rk3399/include/shared/bl31_param.h> -static void soc_read_resources(device_t dev) +static void soc_read_resources(struct device *dev) { ram_resource(dev, 0, (uintptr_t)_dram / KiB, sdram_size_mb() * KiB); } -static void soc_init(device_t dev) +static void soc_init(struct device *dev) { /* * Reserve the whole TZRAM area because it will be marked as secure-only @@ -54,7 +54,7 @@ static struct device_operations soc_ops = { .init = soc_init, }; -static void enable_soc_dev(device_t dev) +static void enable_soc_dev(struct device *dev) { dev->ops = &soc_ops; } |