summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ec/roda/it8518/ec.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ec/roda/it8518/ec.c b/src/ec/roda/it8518/ec.c
index 99ce5062ca..4e69d116ab 100644
--- a/src/ec/roda/it8518/ec.c
+++ b/src/ec/roda/it8518/ec.c
@@ -53,13 +53,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 ec_roda_it8518_ops = {