aboutsummaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-18 16:33:06 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-20 01:31:44 +0000
commitcd2aa47a340432503ba67672e19931ed2f3296bf (patch)
tree297246cf5bd867066f5a7e6818cd16bec0521328 /src/ec
parent216f717d315eccc5b33827627b784c06ca8248e8 (diff)
devicetree: Remove duplicate chip_ops declarations
These are only referenced inside auto-generated static.c files, and util/sconfig also generates the declarations automatically from source file pathnames. Change-Id: Id324790755095c36fbeb73a4d8f9d01cdf6409cb Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34979 Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/compal/ene932/chip.h5
-rw-r--r--src/ec/google/chromeec/chip.h3
-rw-r--r--src/ec/google/wilco/chip.h4
-rw-r--r--src/ec/quanta/ene_kb3940q/chip.h5
-rw-r--r--src/ec/quanta/it8518/chip.h5
-rw-r--r--src/ec/roda/it8518/chip.h5
6 files changed, 0 insertions, 27 deletions
diff --git a/src/ec/compal/ene932/chip.h b/src/ec/compal/ene932/chip.h
index c7e4f8d9be..94f975282b 100644
--- a/src/ec/compal/ene932/chip.h
+++ b/src/ec/compal/ene932/chip.h
@@ -17,11 +17,6 @@
#ifndef _EC_COMPAL_ENE932_CHIP_H
#define _EC_COMPAL_ENE932_CHIP_H
-#include <device/device.h>
-
-struct chip_operations;
-extern struct chip_operations ec_compal_ene932_ops;
-
struct ec_compal_ene932_config {
};
diff --git a/src/ec/google/chromeec/chip.h b/src/ec/google/chromeec/chip.h
index 4eada16b0d..1c9a7f59e7 100644
--- a/src/ec/google/chromeec/chip.h
+++ b/src/ec/google/chromeec/chip.h
@@ -16,9 +16,6 @@
#ifndef EC_GOOGLE_CHROMEEC_CHIP_H
#define EC_GOOGLE_CHROMEEC_CHIP_H
-#include <device/device.h>
-
-extern struct chip_operations ec_google_chromeec_ops;
struct ec_google_chromeec_config {
};
diff --git a/src/ec/google/wilco/chip.h b/src/ec/google/wilco/chip.h
index 9b02ee346d..06d889c108 100644
--- a/src/ec/google/wilco/chip.h
+++ b/src/ec/google/wilco/chip.h
@@ -16,10 +16,6 @@
#ifndef EC_GOOGLE_WILCO_CHIP_H
#define EC_GOOGLE_WILCO_CHIP_H
-#include <device/device.h>
-
-extern struct chip_operations ec_google_wilco_ops;
-
struct ec_google_wilco_config {
};
diff --git a/src/ec/quanta/ene_kb3940q/chip.h b/src/ec/quanta/ene_kb3940q/chip.h
index 8348cc09ef..b812a18b36 100644
--- a/src/ec/quanta/ene_kb3940q/chip.h
+++ b/src/ec/quanta/ene_kb3940q/chip.h
@@ -17,11 +17,6 @@
#ifndef _EC_QUANTA_ENE_KB3940Q_CHIP_H
#define _EC_QUANTA_ENE_KB3940Q_CHIP_H
-#include <device/device.h>
-
-struct chip_operations;
-extern struct chip_operations ec_quanta_ene_kb3940q_ops;
-
struct ec_quanta_ene_kb3940q_config {
};
diff --git a/src/ec/quanta/it8518/chip.h b/src/ec/quanta/it8518/chip.h
index ea9b4ac779..5dd14f6b29 100644
--- a/src/ec/quanta/it8518/chip.h
+++ b/src/ec/quanta/it8518/chip.h
@@ -17,11 +17,6 @@
#ifndef _EC_QUANTA_IT8518_CHIP_H
#define _EC_QUANTA_IT8518_CHIP_H
-#include <device/device.h>
-
-struct chip_operations;
-extern struct chip_operations ec_quanta_it8518_ops;
-
struct ec_quanta_it8518_config {
};
diff --git a/src/ec/roda/it8518/chip.h b/src/ec/roda/it8518/chip.h
index 44891e84fa..8091525e9b 100644
--- a/src/ec/roda/it8518/chip.h
+++ b/src/ec/roda/it8518/chip.h
@@ -16,11 +16,6 @@
#ifndef _EC_RODA_IT8518_CHIP_H
#define _EC_RODA_IT8518_CHIP_H
-#include <device/device.h>
-
-struct chip_operations;
-extern struct chip_operations ec_roda_it8518_ops;
-
struct ec_roda_it8518_config {
u8 cpuhot_limit; /* temperature in °C which asserts PROCHOT# */
};