diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2012-08-21 11:37:11 +0300 |
---|---|---|
committer | Anton Kochkov <anton.kochkov@gmail.com> | 2012-08-22 05:06:41 +0200 |
commit | fee73df07ac0d17f319486f977585c7945e0d069 (patch) | |
tree | 001bb70616c06ef24c267ac257dccc498eac227c /src/drivers | |
parent | 0d5d70b79a3824bfa46a7035d901cb0e7672e3fe (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')
-rw-r--r-- | src/drivers/generic/debug/chip.h | 2 | ||||
-rw-r--r-- | src/drivers/generic/ioapic/chip.h | 1 | ||||
-rw-r--r-- | src/drivers/i2c/adm1026/chip.h | 2 | ||||
-rw-r--r-- | src/drivers/i2c/adm1027/chip.h | 2 | ||||
-rw-r--r-- | src/drivers/i2c/adt7463/chip.h | 2 | ||||
-rw-r--r-- | src/drivers/i2c/i2cmux/chip.h | 2 | ||||
-rw-r--r-- | src/drivers/i2c/i2cmux2/chip.h | 2 | ||||
-rw-r--r-- | src/drivers/i2c/lm63/chip.h | 2 | ||||
-rw-r--r-- | src/drivers/i2c/w83793/chip.h | 2 | ||||
-rw-r--r-- | src/drivers/i2c/w83795/chip.h | 2 | ||||
-rw-r--r-- | src/drivers/ics/954309/chip.h | 2 |
11 files changed, 0 insertions, 21 deletions
diff --git a/src/drivers/generic/debug/chip.h b/src/drivers/generic/debug/chip.h index 78ce2159a1..661fd54d7c 100644 --- a/src/drivers/generic/debug/chip.h +++ b/src/drivers/generic/debug/chip.h @@ -1,4 +1,2 @@ -extern struct chip_operations drivers_generic_debug_ops; - struct drivers_generic_debug_config { }; diff --git a/src/drivers/generic/ioapic/chip.h b/src/drivers/generic/ioapic/chip.h index f6b298f077..ad6ff0ba1f 100644 --- a/src/drivers/generic/ioapic/chip.h +++ b/src/drivers/generic/ioapic/chip.h @@ -20,7 +20,6 @@ #ifndef DRIVERS_GENERIC_IOAPIC_CHIP_H #define DRIVERS_GENERIC_IOAPIC_CHIP_H -extern struct chip_operations drivers_generic_ioapic_ops; struct drivers_generic_ioapic_config { u32 version; u8 apicid; 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 { }; diff --git a/src/drivers/ics/954309/chip.h b/src/drivers/ics/954309/chip.h index 8dfc3e06dd..66cc2c636f 100644 --- a/src/drivers/ics/954309/chip.h +++ b/src/drivers/ics/954309/chip.h @@ -19,8 +19,6 @@ * MA 02110-1301 USA */ -extern struct chip_operations drivers_ics_954309_ops; - struct drivers_ics_954309_config { u8 reg0; u8 reg1; |