[coreboot-gerrit] Change in coreboot[master]: intel/cannonlake_rvp: Get rid of device_t
Elyes HAOUAS (Code Review)
gerrit at coreboot.org
Fri Jun 8 18:21:51 CEST 2018
Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26980
Change subject: intel/cannonlake_rvp: Get rid of device_t
......................................................................
intel/cannonlake_rvp: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I584f04b7bc67eb20c181f0802fa64706c9c70ca9
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/mainboard/intel/cannonlake_rvp/mainboard.c
1 file changed, 4 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/80/26980/1
diff --git a/src/mainboard/intel/cannonlake_rvp/mainboard.c b/src/mainboard/intel/cannonlake_rvp/mainboard.c
index 316485d..3dbae70 100644
--- a/src/mainboard/intel/cannonlake_rvp/mainboard.c
+++ b/src/mainboard/intel/cannonlake_rvp/mainboard.c
@@ -31,8 +31,9 @@
gpio_configure_pads(pads, num);
}
-static unsigned long mainboard_write_acpi_tables(
- device_t device, unsigned long current, acpi_rsdp_t *rsdp)
+static unsigned long mainboard_write_acpi_tables(struct device *device,
+ unsigned long current,
+ acpi_rsdp_t *rsdp)
{
uintptr_t start_addr;
uintptr_t end_addr;
@@ -55,7 +56,7 @@
return end_addr;
}
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
{
dev->ops->write_acpi_tables = mainboard_write_acpi_tables;
dev->ops->acpi_inject_dsdt_generator = chromeos_dsdt_generator;
--
To view, visit https://review.coreboot.org/26980
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: I584f04b7bc67eb20c181f0802fa64706c9c70ca9
Gerrit-Change-Number: 26980
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/20180608/ec8bbacb/attachment.html>
More information about the coreboot-gerrit
mailing list