diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-02-08 14:59:03 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-04-30 09:22:32 +0000 |
commit | fea02e1439476f2acbd151a4d1873cd118f33a60 (patch) | |
tree | ebbd08269782ebb57f3f300cf3949e2e3dae94b1 /src/northbridge/intel/x4x/northbridge.c | |
parent | 658a9348f07672a16163f6be5a2b4448bff64188 (diff) |
nb/x4x: Get rid of device_t
Use of `device_t` has been abandoned in ramstage.
Change-Id: Ib3e708a7fa9f0a78dc704a502a2f01ee0fe209ae
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/23655
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/northbridge/intel/x4x/northbridge.c')
-rw-r--r-- | src/northbridge/intel/x4x/northbridge.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/northbridge/intel/x4x/northbridge.c b/src/northbridge/intel/x4x/northbridge.c index 6ba45fee0b..e51c5871b7 100644 --- a/src/northbridge/intel/x4x/northbridge.c +++ b/src/northbridge/intel/x4x/northbridge.c @@ -31,7 +31,7 @@ static const int legacy_hole_base_k = 0xa0000 / 1024; -static void mch_domain_read_resources(device_t dev) +static void mch_domain_read_resources(struct device *dev) { u8 index, reg8; u64 tom, touud; @@ -136,7 +136,7 @@ static void mch_domain_read_resources(device_t dev) } } -static void mch_domain_set_resources(device_t dev) +static void mch_domain_set_resources(struct device *dev) { struct resource *res; @@ -146,7 +146,7 @@ static void mch_domain_set_resources(device_t dev) assign_resources(dev->link_list); } -static void mch_domain_init(device_t dev) +static void mch_domain_init(struct device *dev) { u32 reg32; @@ -167,7 +167,7 @@ static struct device_operations pci_domain_ops = { }; -static void cpu_bus_init(device_t dev) +static void cpu_bus_init(struct device *dev) { initialize_cpus(dev->link_list); } @@ -180,7 +180,7 @@ static struct device_operations cpu_bus_ops = { }; -static void enable_dev(device_t dev) +static void enable_dev(struct device *dev) { /* Set the operations if it is a special bus type */ if (dev->path.type == DEVICE_PATH_DOMAIN) |