UPSTREAM: mainboard/jetway/j7f2: transition away from device_t

Replace the use of the old device_t definition inside
mainboard/jetway/j7f2.

BUG=None
BRANCH=None
TEST=None

Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/17296
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>

Change-Id: I37f59f74ac22fbf6e036cdb0515301e8dec400fb
Reviewed-on: https://chromium-review.googlesource.com/410088
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Antonello Dettori 2016-11-08 18:44:46 +01:00 committed by chrome-bot
parent 3e4e86a256
commit d9e89b1782

View file

@ -46,7 +46,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
static void enable_mainboard_devices(void)
{
device_t dev;
pci_devfn_t dev;
dev = pci_locate_device(PCI_ID(PCI_VENDOR_ID_VIA,
PCI_DEVICE_ID_VIA_VT8237R_LPC), 0);