summaryrefslogtreecommitdiff
path: root/src/drivers/i2c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-08-21 11:37:11 +0300
committerAnton Kochkov <anton.kochkov@gmail.com>2012-08-22 05:06:41 +0200
commitfee73df07ac0d17f319486f977585c7945e0d069 (patch)
tree001bb70616c06ef24c267ac257dccc498eac227c /src/drivers/i2c
parent0d5d70b79a3824bfa46a7035d901cb0e7672e3fe (diff)
Auto-declare chip_operations
The name is derived directly from the device path. Change-Id: If2053d14f0e38a5ee0159b47a66d45ff3dff649a Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1471 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Diffstat (limited to 'src/drivers/i2c')
-rw-r--r--src/drivers/i2c/adm1026/chip.h2
-rw-r--r--src/drivers/i2c/adm1027/chip.h2
-rw-r--r--src/drivers/i2c/adt7463/chip.h2
-rw-r--r--src/drivers/i2c/i2cmux/chip.h2
-rw-r--r--src/drivers/i2c/i2cmux2/chip.h2
-rw-r--r--src/drivers/i2c/lm63/chip.h2
-rw-r--r--src/drivers/i2c/w83793/chip.h2
-rw-r--r--src/drivers/i2c/w83795/chip.h2
8 files changed, 0 insertions, 16 deletions
diff --git a/src/drivers/i2c/adm1026/chip.h b/src/drivers/i2c/adm1026/chip.h
index 4ccca764fb..f8324ad797 100644
--- a/src/drivers/i2c/adm1026/chip.h
+++ b/src/drivers/i2c/adm1026/chip.h
@@ -1,4 +1,2 @@
-extern struct chip_operations drivers_i2c_adm1026_ops;
-
struct drivers_i2c_adm1026_config {
};
diff --git a/src/drivers/i2c/adm1027/chip.h b/src/drivers/i2c/adm1027/chip.h
index 94c4e888e9..8836817c36 100644
--- a/src/drivers/i2c/adm1027/chip.h
+++ b/src/drivers/i2c/adm1027/chip.h
@@ -1,4 +1,2 @@
-extern struct chip_operations drivers_i2c_adm1027_ops;
-
struct drivers_i2c_adm1027_config {
};
diff --git a/src/drivers/i2c/adt7463/chip.h b/src/drivers/i2c/adt7463/chip.h
index fdb22b95c8..351d548029 100644
--- a/src/drivers/i2c/adt7463/chip.h
+++ b/src/drivers/i2c/adt7463/chip.h
@@ -1,4 +1,2 @@
-extern struct chip_operations drivers_i2c_adt7463_ops;
-
struct drivers_i2c_adt7463_config {
};
diff --git a/src/drivers/i2c/i2cmux/chip.h b/src/drivers/i2c/i2cmux/chip.h
index ffaf87954a..0cfd837755 100644
--- a/src/drivers/i2c/i2cmux/chip.h
+++ b/src/drivers/i2c/i2cmux/chip.h
@@ -1,4 +1,2 @@
-extern struct chip_operations drivers_i2c_i2cmux_ops;
-
struct drivers_i2c_i2cmux_config {
};
diff --git a/src/drivers/i2c/i2cmux2/chip.h b/src/drivers/i2c/i2cmux2/chip.h
index f6fd35f796..dafa1d71ad 100644
--- a/src/drivers/i2c/i2cmux2/chip.h
+++ b/src/drivers/i2c/i2cmux2/chip.h
@@ -1,4 +1,2 @@
-extern struct chip_operations drivers_i2c_i2cmux2_ops;
-
struct drivers_i2c_i2cmux2_config {
};
diff --git a/src/drivers/i2c/lm63/chip.h b/src/drivers/i2c/lm63/chip.h
index 5c558464f3..1c5bc7a33a 100644
--- a/src/drivers/i2c/lm63/chip.h
+++ b/src/drivers/i2c/lm63/chip.h
@@ -1,4 +1,2 @@
-extern struct chip_operations drivers_i2c_lm63_ops;
-
struct drivers_i2c_lm63_config {
};
diff --git a/src/drivers/i2c/w83793/chip.h b/src/drivers/i2c/w83793/chip.h
index dc3cd7500f..65a50bb32f 100644
--- a/src/drivers/i2c/w83793/chip.h
+++ b/src/drivers/i2c/w83793/chip.h
@@ -1,5 +1,3 @@
-extern struct chip_operations drivers_i2c_w83793_ops;
-
struct drivers_i2c_w83793_config {
u8 mfc;
u8 fanin;
diff --git a/src/drivers/i2c/w83795/chip.h b/src/drivers/i2c/w83795/chip.h
index 290063682f..b5162c1344 100644
--- a/src/drivers/i2c/w83795/chip.h
+++ b/src/drivers/i2c/w83795/chip.h
@@ -1,4 +1,2 @@
-extern struct chip_operations drivers_i2c_w83795_ops;
-
struct drivers_i2c_w83795_config {
};