diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-06-08 18:31:43 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2018-06-09 16:39:35 +0000 |
commit | 5cb876cc1fef34e238e37facb36a77dbc45ced9a (patch) | |
tree | c16a4900067f028fdc9812e52fa82b02b1aad990 /src/mainboard/samsung | |
parent | 7a5f77142f68edd03874015300e471eb80d03c45 (diff) |
mainboard: Get rid of device_t in ramstage
Use of device_t has been abandoned in ramstage.
Change-Id: I07e00afbbd2c19cf3ea6e08f228eb39e45f1ad0c
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26983
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/samsung')
-rw-r--r-- | src/mainboard/samsung/lumpy/mainboard.c | 6 | ||||
-rw-r--r-- | src/mainboard/samsung/stumpy/mainboard.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/samsung/lumpy/mainboard.c b/src/mainboard/samsung/lumpy/mainboard.c index 3de067eb82..0a006128a4 100644 --- a/src/mainboard/samsung/lumpy/mainboard.c +++ b/src/mainboard/samsung/lumpy/mainboard.c @@ -42,7 +42,7 @@ void mainboard_suspend_resume(void) -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_smbios_type41_irq(int *handle, unsigned long *current, } -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 @@ static int lumpy_onboard_smbios_data(device_t dev, int *handle, // 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; diff --git a/src/mainboard/samsung/stumpy/mainboard.c b/src/mainboard/samsung/stumpy/mainboard.c index 654b1de476..7ea1c5119d 100644 --- a/src/mainboard/samsung/stumpy/mainboard.c +++ b/src/mainboard/samsung/stumpy/mainboard.c @@ -33,7 +33,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->acpi_inject_dsdt_generator = chromeos_dsdt_generator; install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_EDP, GMA_INT15_PANEL_FIT_CENTERING, GMA_INT15_BOOT_DISPLAY_DEFAULT, 0); |