[coreboot-gerrit] Change in coreboot[master]: src/device/device.c: Don't use device_t in ramstage
Elyes HAOUAS (Code Review)
gerrit at coreboot.org
Mon Sep 17 10:45:26 CEST 2018
Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/28645
Change subject: src/device/device.c: Don't use device_t in ramstage
......................................................................
src/device/device.c: Don't use device_t in ramstage
Use of device_t has been abandoned in ramstage.
Change-Id: I3d1bdefd00c91a98116ede5dc03c3ce253d1f0ed
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/device/device.c
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/28645/1
diff --git a/src/device/device.c b/src/device/device.c
index 7ba9d0a..dcbaef1 100644
--- a/src/device/device.c
+++ b/src/device/device.c
@@ -118,7 +118,7 @@
*
* @see device_path
*/
-static device_t __alloc_dev(struct bus *parent, struct device_path *path)
+static struct device *__alloc_dev(struct bus *parent, struct device_path *path)
{
struct device *dev, *child;
@@ -152,7 +152,7 @@
return dev;
}
-device_t alloc_dev(struct bus *parent, struct device_path *path)
+struct device *alloc_dev(struct bus *parent, struct device_path *path)
{
struct device *dev;
spin_lock(&dev_lock);
@@ -168,7 +168,7 @@
* @param path The relative path from the bus to the appropriate device.
* @return Pointer to a device structure for the device on bus at path.
*/
-device_t alloc_find_dev(struct bus *parent, struct device_path *path)
+struct device *alloc_find_dev(struct bus *parent, struct device_path *path)
{
struct device *child;
spin_lock(&dev_lock);
--
To view, visit https://review.coreboot.org/28645
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: I3d1bdefd00c91a98116ede5dc03c3ce253d1f0ed
Gerrit-Change-Number: 28645
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/20180917/a187a082/attachment.html>
More information about the coreboot-gerrit
mailing list