[coreboot-gerrit] Change in coreboot[master]: nb/intel/i440: Get rid off device_t

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Fri Feb 9 08:44:38 CET 2018


Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/23672


Change subject: nb/intel/i440: Get rid off device_t
......................................................................

nb/intel/i440: Get rid off device_t

Use of `device_t` has been
abandoned in ramstage

Change-Id: Ibd01659f518b7a2b1aaf334fe5b16cfb936b68b7
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/northbridge/intel/i440bx/northbridge.c
M src/northbridge/intel/i440bx/northbridge.h
2 files changed, 4 insertions(+), 4 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/23672/1

diff --git a/src/northbridge/intel/i440bx/northbridge.c b/src/northbridge/intel/i440bx/northbridge.c
index 8e5aa11..1245be6 100644
--- a/src/northbridge/intel/i440bx/northbridge.c
+++ b/src/northbridge/intel/i440bx/northbridge.c
@@ -12,7 +12,7 @@
 #include "northbridge.h"
 #include "i440bx.h"
 
-static void northbridge_init(device_t dev)
+static void northbridge_init(struct device *dev)
 {
 	printk(BIOS_SPEW, "Northbridge Init\n");
 }
@@ -32,7 +32,7 @@
 	.device = 0x7190,
 };
 
-static void i440bx_domain_set_resources(device_t dev)
+static void i440bx_domain_set_resources(struct device *dev)
 {
 	device_t mc_dev;
 	uint32_t pci_tolm;
@@ -82,7 +82,7 @@
 	.ops_pci_bus		= pci_bus_default_ops,
 };
 
-static void cpu_bus_init(device_t dev)
+static void cpu_bus_init(struct device *dev)
 {
 	initialize_cpus(dev->link_list);
 }
diff --git a/src/northbridge/intel/i440bx/northbridge.h b/src/northbridge/intel/i440bx/northbridge.h
index 5b721b5..8df5666 100644
--- a/src/northbridge/intel/i440bx/northbridge.h
+++ b/src/northbridge/intel/i440bx/northbridge.h
@@ -17,6 +17,6 @@
 #ifndef NORTHBRIDGE_INTEL_440BX_H
 #define NORTHBRIDGE_INTEL_440BX_H
 
-extern unsigned int i440bx_scan_root_bus(device_t root, unsigned int max);
+extern unsigned int i440bx_scan_root_bus(struct device *root, unsigned int max);
 
 #endif				/* NORTHBRIDGE_INTEL_440BX_H */

-- 
To view, visit https://review.coreboot.org/23672
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibd01659f518b7a2b1aaf334fe5b16cfb936b68b7
Gerrit-Change-Number: 23672
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180209/510d6480/attachment.html>


More information about the coreboot-gerrit mailing list