diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-06-08 19:00:44 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2018-06-09 17:24:07 +0000 |
commit | 4b73fa97ce98adda75e889ddbb759022e6cb11b2 (patch) | |
tree | a844fe813a095ad8f3091403c2d00ec740c2f9a6 /src/mainboard/intel/galileo/gpio.c | |
parent | 5cb876cc1fef34e238e37facb36a77dbc45ced9a (diff) |
mainboard: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Use pci_devfn_t or pnp_devfn_t instead of device_t in romstage.
Change-Id: Ie0ae3972eacc97ae154dad4fafd171aa1f38683a
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26984
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/intel/galileo/gpio.c')
-rw-r--r-- | src/mainboard/intel/galileo/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/intel/galileo/gpio.c b/src/mainboard/intel/galileo/gpio.c index 857390edcc..cee673de12 100644 --- a/src/mainboard/intel/galileo/gpio.c +++ b/src/mainboard/intel/galileo/gpio.c @@ -45,7 +45,7 @@ void car_mainboard_pre_console_init(void) } } -void mainboard_gpio_i2c_init(device_t dev) +void mainboard_gpio_i2c_init(struct device *dev) { const struct reg_script *script; |