[coreboot-gerrit] Change in coreboot[master]: src/device: Use different name for variables and structs

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


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


Change subject: src/device: Use different name for variables and structs
......................................................................

src/device: 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: Iebf18c5bd6a819513d0691292488063226b848c1
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/device/pci_rom.c
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/41/26441/1

diff --git a/src/device/pci_rom.c b/src/device/pci_rom.c
index 299f7c8..91ccd9c 100644
--- a/src/device/pci_rom.c
+++ b/src/device/pci_rom.c
@@ -202,7 +202,7 @@
 }
 
 static unsigned long
-pci_rom_acpi_fill_vfct(struct device *device,
+pci_rom_acpi_fill_vfct(struct device *dev,
 					   struct acpi_vfct *vfct_struct,
 					   unsigned long current)
 {
@@ -238,7 +238,7 @@
 }
 
 unsigned long
-pci_rom_write_acpi_tables(struct device *device,
+pci_rom_write_acpi_tables(struct device *dev,
 						  unsigned long current,
 						  struct acpi_rsdp *rsdp)
 {
@@ -271,7 +271,7 @@
 	return current;
 }
 
-void pci_rom_ssdt(struct device *device)
+void pci_rom_ssdt(struct device *dev)
 {
 	static size_t ngfx;
 

-- 
To view, visit https://review.coreboot.org/26441
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: Iebf18c5bd6a819513d0691292488063226b848c1
Gerrit-Change-Number: 26441
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/ca48f59c/attachment.html>


More information about the coreboot-gerrit mailing list