src/ec: Add missing "set_resources = noop_set_resources"
Change-Id: I4acfb9d9911e251a494b6d35d76226c06e7858d6 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40256 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
@@ -123,6 +123,7 @@ static void ene932_init(struct device *dev)
|
|||||||
static struct device_operations ops = {
|
static struct device_operations ops = {
|
||||||
.init = ene932_init,
|
.init = ene932_init,
|
||||||
.read_resources = noop_read_resources,
|
.read_resources = noop_read_resources,
|
||||||
|
.set_resources = noop_set_resources,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct pnp_info pnp_dev_info[] = {
|
static struct pnp_info pnp_dev_info[] = {
|
||||||
|
@@ -133,6 +133,7 @@ static void ene_kb3940q_init(struct device *dev)
|
|||||||
static struct device_operations ops = {
|
static struct device_operations ops = {
|
||||||
.init = ene_kb3940q_init,
|
.init = ene_kb3940q_init,
|
||||||
.read_resources = noop_read_resources,
|
.read_resources = noop_read_resources,
|
||||||
|
.set_resources = noop_set_resources,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct pnp_info pnp_dev_info[] = {
|
static struct pnp_info pnp_dev_info[] = {
|
||||||
|
@@ -147,6 +147,7 @@ static void it8518_init(struct device *dev)
|
|||||||
static struct device_operations ops = {
|
static struct device_operations ops = {
|
||||||
.init = it8518_init,
|
.init = it8518_init,
|
||||||
.read_resources = noop_read_resources,
|
.read_resources = noop_read_resources,
|
||||||
|
.set_resources = noop_set_resources,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct pnp_info pnp_dev_info[] = {
|
static struct pnp_info pnp_dev_info[] = {
|
||||||
|
@@ -36,6 +36,7 @@ static void it8518_init(struct device *dev)
|
|||||||
static struct device_operations ops = {
|
static struct device_operations ops = {
|
||||||
.init = it8518_init,
|
.init = it8518_init,
|
||||||
.read_resources = noop_read_resources,
|
.read_resources = noop_read_resources,
|
||||||
|
.set_resources = noop_set_resources,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct pnp_info pnp_dev_info[] = {
|
static struct pnp_info pnp_dev_info[] = {
|
||||||
|
Reference in New Issue
Block a user