From e75bac3a00362562d5f053aed5dbcf2b597046de Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 6 Jul 2018 23:47:58 +0200 Subject: [PATCH] sio/smsc/fdc37n972: add missing pnp_conf_mode field to ops struct This patch makes it possible to enter the config mode of the super IO chip, so that changes can be made to the configuration registers. Change-Id: I7e31eaf217b3af2226c1e7d2f14f2ef7b0d7ddbe Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/27392 Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens --- src/superio/smsc/fdc37n972/superio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/superio/smsc/fdc37n972/superio.c b/src/superio/smsc/fdc37n972/superio.c index 85e376d3d4..0ee9850c2e 100644 --- a/src/superio/smsc/fdc37n972/superio.c +++ b/src/superio/smsc/fdc37n972/superio.c @@ -15,6 +15,7 @@ #include #include +#include #include #include @@ -43,6 +44,7 @@ static struct device_operations ops = { .enable_resources = pnp_enable_resources, .enable = pnp_enable, .init = init, + .ops_pnp_mode = &pnp_conf_mode_55_aa, }; static struct pnp_info pnp_dev_info[] = {