diff options
author | Antonello Dettori <dev@dettori.io> | 2016-09-02 09:12:20 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-13 17:24:20 +0200 |
commit | ec4555b96d9c4ec57b03e21c6d9af3626c24b933 (patch) | |
tree | c2298478cf6f61a09b6b0c6cb807b8e842ee5ea0 /src | |
parent | 8d7181ddd16c06e484c74b0df4431e5557631b07 (diff) |
lenovo/t60: transition away from device_t
Replace the use of the old device_t definition inside
mainboard/lenovo/t60.
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: I4d87498637d74f96ca5809b0e810755a58fc64ab
Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/16405
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/lenovo/t60/romstage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/t60/romstage.c b/src/mainboard/lenovo/t60/romstage.c index 3ed6afde6d..d3cd90cf65 100644 --- a/src/mainboard/lenovo/t60/romstage.c +++ b/src/mainboard/lenovo/t60/romstage.c @@ -95,7 +95,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, 0xa0); |