diff options
author | Antonello Dettori <dev@dettori.io> | 2016-08-30 22:15:49 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-02 18:10:10 +0200 |
commit | 4bf48e8c3377e3d4b4284f7f84f3e338bbce6665 (patch) | |
tree | 31673a737ac52d435d8be9366690990e0bfdc18c /src/mainboard/lenovo | |
parent | 7aded784c1bbf8ed4fc67a33753a2e539c101be5 (diff) | |
download | coreboot-4bf48e8c3377e3d4b4284f7f84f3e338bbce6665.tar.gz coreboot-4bf48e8c3377e3d4b4284f7f84f3e338bbce6665.tar.bz2 coreboot-4bf48e8c3377e3d4b4284f7f84f3e338bbce6665.zip |
lenovo/x60: transition away from device_t
Replace the use of the old device_t definition inside
mainboard/lenovo/x60.
The patch has been tested both with the arch/io.h definition of device_t
enabled and disabled in order to ensure compatibility while the
transaction takes place.
Change-Id: Icaceeae2fc7276efa82d37582ecac93aaf37c41c
Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/16372
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r-- | src/mainboard/lenovo/x60/romstage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/x60/romstage.c b/src/mainboard/lenovo/x60/romstage.c index aabbf657a431..c735ce2f0145 100644 --- a/src/mainboard/lenovo/x60/romstage.c +++ b/src/mainboard/lenovo/x60/romstage.c @@ -102,7 +102,7 @@ static void ich7_enable_lpc(void) static void early_superio_config(void) { int timeout = 100000; - device_t dev = PNP_DEV(0x2e, 3); + pnp_devfn_t dev = PNP_DEV(0x2e, 3); pnp_write_config(dev, 0x29, 0x06); |