diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-04 19:53:02 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-05-08 03:03:23 +0000 |
commit | a2e282b06a945ba7b3cbc73b5eeda9d55e6ceaf8 (patch) | |
tree | 42b4fe709997292b616ff4ca94d531641e6e2c3d /src/mainboard/apple/macbook21 | |
parent | 9981177cb8e06d5a00d22e1185a05aa38d217e33 (diff) | |
download | coreboot-a2e282b06a945ba7b3cbc73b5eeda9d55e6ceaf8.tar.xz |
mb/apple: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I14d82b0463d184ae89d7137f2dc6732bbb608b73
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26074
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/apple/macbook21')
-rw-r--r-- | src/mainboard/apple/macbook21/mainboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/apple/macbook21/mainboard.c b/src/mainboard/apple/macbook21/mainboard.c index eb74ec16f8..c5ed0485f9 100644 --- a/src/mainboard/apple/macbook21/mainboard.c +++ b/src/mainboard/apple/macbook21/mainboard.c @@ -70,12 +70,12 @@ int get_cst_entries(acpi_cstate_t **entries) return ARRAY_SIZE(cst_entries); } -static void mainboard_init(device_t dev) +static void mainboard_init(struct device *dev) { install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS, GMA_INT15_PANEL_FIT_DEFAULT, PANEL, 3); } -static void mainboard_enable(device_t dev) +static void mainboard_enable(struct device *dev) { dev->ops->init = mainboard_init; } |