summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra210
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/nvidia/tegra210')
-rw-r--r--src/soc/nvidia/tegra210/dp.c2
-rw-r--r--src/soc/nvidia/tegra210/dsi.c2
-rw-r--r--src/soc/nvidia/tegra210/include/soc/display.h4
-rw-r--r--src/soc/nvidia/tegra210/soc.c4
4 files changed, 6 insertions, 6 deletions
diff --git a/src/soc/nvidia/tegra210/dp.c b/src/soc/nvidia/tegra210/dp.c
index 119b4a74c8..848a314296 100644
--- a/src/soc/nvidia/tegra210/dp.c
+++ b/src/soc/nvidia/tegra210/dp.c
@@ -1570,7 +1570,7 @@ error_enable:
return;
}
-void dp_display_startup(device_t dev)
+void dp_display_startup(struct device *dev)
{
struct soc_nvidia_tegra210_config *config = dev->chip_info;
struct display_controller *disp_ctrl =
diff --git a/src/soc/nvidia/tegra210/dsi.c b/src/soc/nvidia/tegra210/dsi.c
index 5504b4d994..5a9d5a513d 100644
--- a/src/soc/nvidia/tegra210/dsi.c
+++ b/src/soc/nvidia/tegra210/dsi.c
@@ -965,7 +965,7 @@ static int dsi_enable(struct soc_nvidia_tegra210_config *config)
return 0;
}
-void dsi_display_startup(device_t dev)
+void dsi_display_startup(struct device *dev)
{
struct soc_nvidia_tegra210_config *config = dev->chip_info;
struct display_controller *disp_ctrl =
diff --git a/src/soc/nvidia/tegra210/include/soc/display.h b/src/soc/nvidia/tegra210/include/soc/display.h
index 84ad4dc1ae..dd7c9586bd 100644
--- a/src/soc/nvidia/tegra210/include/soc/display.h
+++ b/src/soc/nvidia/tegra210/include/soc/display.h
@@ -43,8 +43,8 @@ enum {
struct soc_nvidia_tegra210_config;
struct display_controller;
-void dsi_display_startup(device_t dev);
-void dp_display_startup(device_t dev);
+void dsi_display_startup(struct device *dev);
+void dp_display_startup(struct device *dev);
int tegra_dc_init(struct display_controller *disp_ctrl);
int update_display_mode(struct display_controller *disp_ctrl,
diff --git a/src/soc/nvidia/tegra210/soc.c b/src/soc/nvidia/tegra210/soc.c
index 1071d68b60..a8f111bdf9 100644
--- a/src/soc/nvidia/tegra210/soc.c
+++ b/src/soc/nvidia/tegra210/soc.c
@@ -35,7 +35,7 @@
#include "chip.h"
-static void soc_read_resources(device_t dev)
+static void soc_read_resources(struct device *dev)
{
unsigned long index = 0;
int i; uintptr_t begin, end;
@@ -65,7 +65,7 @@ static struct device_operations soc_ops = {
.scan_bus = NULL,
};
-static void enable_tegra210_dev(device_t dev)
+static void enable_tegra210_dev(struct device *dev)
{
if (dev->path.type == DEVICE_PATH_CPU_CLUSTER)
dev->ops = &soc_ops;