[coreboot-gerrit] Change in coreboot[master]: include/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/26442


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

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



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/42/26442/1

diff --git a/src/include/device/pci_rom.h b/src/include/device/pci_rom.h
index a4aa52a..492b483 100644
--- a/src/include/device/pci_rom.h
+++ b/src/include/device/pci_rom.h
@@ -39,11 +39,11 @@
 	struct rom_header *rom_header);
 
 unsigned long
-pci_rom_write_acpi_tables(struct device *device,
-						  unsigned long current,
-						  struct acpi_rsdp *rsdp);
+pci_rom_write_acpi_tables(struct device *dev,
+			  unsigned long current,
+			  struct acpi_rsdp *rsdp);
 
-void pci_rom_ssdt(struct device *device);
+void pci_rom_ssdt(struct device *dev);
 
 u32 map_oprom_vendev(u32 vendev);
 

-- 
To view, visit https://review.coreboot.org/26442
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: I1f4d9e1310c5162584abc32ad0e84ec830c5e7e9
Gerrit-Change-Number: 26442
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/f302867a/attachment-0001.html>


More information about the coreboot-gerrit mailing list