[coreboot-gerrit] Change in coreboot[master]: northbridge/amd/agesa: Use different name for variables and structs

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Mon May 21 10:22:30 CEST 2018


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


Change subject: northbridge/amd/agesa: Use different name for variables and structs
......................................................................

northbridge/amd/agesa: Use different name for variables and structs

My previous changes 'Get ride of device_t' introduced a
confusion by using the same name for variables and structs.

Change-Id: I792f45c7147d19d8d780cd66d6ce334d337a5559
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/northbridge/amd/agesa/family12/northbridge.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/44/26444/1

diff --git a/src/northbridge/amd/agesa/family12/northbridge.c b/src/northbridge/amd/agesa/family12/northbridge.c
index 80254e0..206a43f 100644
--- a/src/northbridge/amd/agesa/family12/northbridge.c
+++ b/src/northbridge/amd/agesa/family12/northbridge.c
@@ -632,7 +632,7 @@
 	return (unsigned long)current;
 }
 
-static void northbridge_fill_ssdt_generator(struct device *device)
+static void northbridge_fill_ssdt_generator(struct device *dev)
 {
 	msr_t msr;
 	char pscope[] = "\\_SB.PCI0";
@@ -653,7 +653,7 @@
 	acpigen_pop_len();
 }
 
-static unsigned long agesa_write_acpi_tables(struct device *device,
+static unsigned long agesa_write_acpi_tables(struct device *dev,
 					     unsigned long current,
 					     acpi_rsdp_t *rsdp)
 {

-- 
To view, visit https://review.coreboot.org/26444
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: I792f45c7147d19d8d780cd66d6ce334d337a5559
Gerrit-Change-Number: 26444
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/20180521/136fe8f5/attachment-0001.html>


More information about the coreboot-gerrit mailing list