Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26982
Change subject: samsung/lumpy: Get rid of device_t ......................................................................
samsung/lumpy: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: Iaae136fc3ef05f415ee003077ad5859b8c3f165a Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/samsung/lumpy/mainboard.c 1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/82/26982/1
diff --git a/src/mainboard/samsung/lumpy/mainboard.c b/src/mainboard/samsung/lumpy/mainboard.c index 3de067e..0a00612 100644 --- a/src/mainboard/samsung/lumpy/mainboard.c +++ b/src/mainboard/samsung/lumpy/mainboard.c @@ -42,7 +42,7 @@
-static void mainboard_init(device_t dev) +static void mainboard_init(struct device *dev) { /* Initialize the Embedded Controller */ lumpy_ec_init(); @@ -74,7 +74,7 @@ }
-static int lumpy_onboard_smbios_data(device_t dev, int *handle, +static int lumpy_onboard_smbios_data(struct device *dev, int *handle, unsigned long *current) { int len = 0; @@ -95,7 +95,7 @@ // mainboard_enable is executed as first thing after // enumerate_buses().
-static void mainboard_enable(device_t dev) +static void mainboard_enable(struct device *dev) { dev->ops->init = mainboard_init; dev->ops->get_smbios_data = lumpy_onboard_smbios_data;