summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ec/google/chromeec/ec_lpc.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ec/google/chromeec/ec_lpc.c b/src/ec/google/chromeec/ec_lpc.c
index 42a18e4a0e..3078c220b6 100644
--- a/src/ec/google/chromeec/ec_lpc.c
+++ b/src/ec/google/chromeec/ec_lpc.c
@@ -459,15 +459,11 @@ static void lpc_ec_read_resources(struct device *dev)
res->flags = IORESOURCE_IO | IORESOURCE_ASSIGNED | IORESOURCE_FIXED;
}
-static void lpc_ec_enable_resources(struct device *dev)
-{
- /* Nothing, but this function avoids an error on serial console. */
-}
-
static struct device_operations ops = {
.init = lpc_ec_init,
.read_resources = lpc_ec_read_resources,
- .enable_resources = lpc_ec_enable_resources
+ .enable_resources = DEVICE_NOOP,
+ .set_resources = DEVICE_NOOP
};
static struct pnp_info pnp_dev_info[] = {