soc/nvidia: Get rid of device_t

Use of device_t has been abandoned in ramstage.

Change-Id: I065ed3a0deab2f59e510717f5d52beb2a62e900d
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26537
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
diff --git a/src/soc/nvidia/tegra124/soc.c b/src/soc/nvidia/tegra124/soc.c
index faf1ddb..e44ea8d 100644
--- a/src/soc/nvidia/tegra124/soc.c
+++ b/src/soc/nvidia/tegra124/soc.c
@@ -30,7 +30,7 @@
  * Will break if we get 2. Sigh.
  * We assume it's all multiples of MiB for MMUs sake.
  */
-static void soc_enable(device_t dev)
+static void soc_enable(struct device *dev)
 {
 	u32 lcdbase = fb_base_mb();
 	unsigned long fb_size = FB_SIZE_MB;
@@ -47,7 +47,7 @@
 			(sdram_end_mb - sdram_max_addressable_mb())*KiB);
 }
 
-static void soc_init(device_t dev)
+static void soc_init(struct device *dev)
 {
 	if (display_init_required())
 		display_startup(dev);
@@ -64,7 +64,7 @@
 	.scan_bus         = 0,
 };
 
-static void enable_tegra124_dev(device_t dev)
+static void enable_tegra124_dev(struct device *dev)
 {
 	dev->ops = &soc_ops;
 }