From 552bc70c659aa2769b01be990651bf3d06465975 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 6 Jul 2018 21:53:41 +0200 Subject: superio/renesas: remove LDN-specific ops overrides The pnp ops struct is already passed to the pnp_enable_devices function and it is used if no override is supplied in the elements of the pnp_info struct array Change-Id: I42469c844074db57071d0191d12d8fd64f462672 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/27390 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/superio/renesas/m3885x/superio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/superio') diff --git a/src/superio/renesas/m3885x/superio.c b/src/superio/renesas/m3885x/superio.c index 94f6a07a3b..f85a39d358 100644 --- a/src/superio/renesas/m3885x/superio.c +++ b/src/superio/renesas/m3885x/superio.c @@ -54,12 +54,12 @@ static struct device_operations ops = { }; static struct pnp_info pnp_dev_info[] = { - { &ops, 0, 0, 0, } + { NULL, 0, 0, 0, } }; static void enable_dev(struct device *dev) { - pnp_enable_devices(dev, &pnp_ops, ARRAY_SIZE(pnp_dev_info), pnp_dev_info); + pnp_enable_devices(dev, &ops, ARRAY_SIZE(pnp_dev_info), pnp_dev_info); } struct chip_operations superio_renesas_m3885x_ops = { -- cgit v1.2.3