summaryrefslogtreecommitdiff
path: root/src/northbridge
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/northbridge
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/northbridge')
-rw-r--r--src/northbridge/amd/agesa/family10/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family10/root_complex/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family12/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family12/root_complex/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family14/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family14/root_complex/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family15/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family15/root_complex/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family15tn/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family15tn/root_complex/chip.h1
-rw-r--r--src/northbridge/amd/amdfam10/chip.h1
-rw-r--r--src/northbridge/amd/amdfam10/root_complex/chip.h1
-rw-r--r--src/northbridge/amd/amdk8/chip.h1
-rw-r--r--src/northbridge/amd/amdk8/root_complex/chip.h1
-rw-r--r--src/northbridge/amd/cimx/rd890/chip.h3
-rw-r--r--src/northbridge/amd/gx1/chip.h1
-rw-r--r--src/northbridge/amd/gx2/chip.h1
-rw-r--r--src/northbridge/amd/lx/chip.h1
-rw-r--r--src/northbridge/intel/e7501/chip.h1
-rw-r--r--src/northbridge/intel/e7505/chip.h2
-rw-r--r--src/northbridge/intel/e7520/chip.h1
-rw-r--r--src/northbridge/intel/e7525/chip.h1
-rw-r--r--src/northbridge/intel/i3100/chip.h1
-rw-r--r--src/northbridge/intel/i440bx/chip.h1
-rw-r--r--src/northbridge/intel/i440lx/chip.h1
-rw-r--r--src/northbridge/intel/i5000/chip.h1
-rw-r--r--src/northbridge/intel/i82810/chip.h1
-rw-r--r--src/northbridge/intel/i82830/chip.h1
-rw-r--r--src/northbridge/intel/i855/chip.h1
-rw-r--r--src/northbridge/intel/i945/chip.h1
-rw-r--r--src/northbridge/intel/sandybridge/chip.h1
-rw-r--r--src/northbridge/intel/sch/chip.h1
-rw-r--r--src/northbridge/rdc/r8610/chip.h1
-rw-r--r--src/northbridge/via/cn400/chip.h1
-rw-r--r--src/northbridge/via/cn700/chip.h1
-rw-r--r--src/northbridge/via/cx700/chip.h1
-rw-r--r--src/northbridge/via/vt8601/chip.h1
-rw-r--r--src/northbridge/via/vt8623/chip.h1
-rw-r--r--src/northbridge/via/vx800/chip.h1
39 files changed, 0 insertions, 42 deletions
diff --git a/src/northbridge/amd/agesa/family10/chip.h b/src/northbridge/amd/agesa/family10/chip.h
index c0ac56e5a9..f95d5b1170 100644
--- a/src/northbridge/amd/agesa/family10/chip.h
+++ b/src/northbridge/amd/agesa/family10/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family10_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family10_ops;
diff --git a/src/northbridge/amd/agesa/family10/root_complex/chip.h b/src/northbridge/amd/agesa/family10/root_complex/chip.h
index 15a2e1ae69..80adb8eb71 100644
--- a/src/northbridge/amd/agesa/family10/root_complex/chip.h
+++ b/src/northbridge/amd/agesa/family10/root_complex/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family10_root_complex_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family10_root_complex_ops;
diff --git a/src/northbridge/amd/agesa/family12/chip.h b/src/northbridge/amd/agesa/family12/chip.h
index 462610d6ea..39efd523d6 100644
--- a/src/northbridge/amd/agesa/family12/chip.h
+++ b/src/northbridge/amd/agesa/family12/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family12_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family12_ops;
diff --git a/src/northbridge/amd/agesa/family12/root_complex/chip.h b/src/northbridge/amd/agesa/family12/root_complex/chip.h
index 91599252fc..556f343ad5 100644
--- a/src/northbridge/amd/agesa/family12/root_complex/chip.h
+++ b/src/northbridge/amd/agesa/family12/root_complex/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family12_root_complex_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family12_root_complex_ops;
diff --git a/src/northbridge/amd/agesa/family14/chip.h b/src/northbridge/amd/agesa/family14/chip.h
index 26a1aad6bb..46ea78a64a 100644
--- a/src/northbridge/amd/agesa/family14/chip.h
+++ b/src/northbridge/amd/agesa/family14/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family14_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family14_ops;
diff --git a/src/northbridge/amd/agesa/family14/root_complex/chip.h b/src/northbridge/amd/agesa/family14/root_complex/chip.h
index 234f931aef..cf95179073 100644
--- a/src/northbridge/amd/agesa/family14/root_complex/chip.h
+++ b/src/northbridge/amd/agesa/family14/root_complex/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family14_root_complex_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family14_root_complex_ops;
diff --git a/src/northbridge/amd/agesa/family15/chip.h b/src/northbridge/amd/agesa/family15/chip.h
index cec1fc4ad1..b06318b980 100644
--- a/src/northbridge/amd/agesa/family15/chip.h
+++ b/src/northbridge/amd/agesa/family15/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family15_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family15_ops;
diff --git a/src/northbridge/amd/agesa/family15/root_complex/chip.h b/src/northbridge/amd/agesa/family15/root_complex/chip.h
index 06b3510705..8f670f6b94 100644
--- a/src/northbridge/amd/agesa/family15/root_complex/chip.h
+++ b/src/northbridge/amd/agesa/family15/root_complex/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family15_root_complex_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family15_root_complex_ops;
diff --git a/src/northbridge/amd/agesa/family15tn/chip.h b/src/northbridge/amd/agesa/family15tn/chip.h
index d8361719e1..091de82f6d 100644
--- a/src/northbridge/amd/agesa/family15tn/chip.h
+++ b/src/northbridge/amd/agesa/family15tn/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family15tn_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family15tn_ops;
diff --git a/src/northbridge/amd/agesa/family15tn/root_complex/chip.h b/src/northbridge/amd/agesa/family15tn/root_complex/chip.h
index 802bb95cf6..0306fdd08b 100644
--- a/src/northbridge/amd/agesa/family15tn/root_complex/chip.h
+++ b/src/northbridge/amd/agesa/family15tn/root_complex/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family15tn_root_complex_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family15tn_root_complex_ops;
diff --git a/src/northbridge/amd/amdfam10/chip.h b/src/northbridge/amd/amdfam10/chip.h
index e055475780..a8161cbb35 100644
--- a/src/northbridge/amd/amdfam10/chip.h
+++ b/src/northbridge/amd/amdfam10/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_amdfam10_config
{
};
-extern struct chip_operations northbridge_amd_amdfam10_ops;
diff --git a/src/northbridge/amd/amdfam10/root_complex/chip.h b/src/northbridge/amd/amdfam10/root_complex/chip.h
index ed42c0f368..8c93020f7b 100644
--- a/src/northbridge/amd/amdfam10/root_complex/chip.h
+++ b/src/northbridge/amd/amdfam10/root_complex/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_amdfam10_root_complex_config
{
};
-extern struct chip_operations northbridge_amd_amdfam10_root_complex_ops;
diff --git a/src/northbridge/amd/amdk8/chip.h b/src/northbridge/amd/amdk8/chip.h
index 26d4e53ac6..a2331f41a2 100644
--- a/src/northbridge/amd/amdk8/chip.h
+++ b/src/northbridge/amd/amdk8/chip.h
@@ -2,4 +2,3 @@ struct northbridge_amd_amdk8_config
{
};
-extern struct chip_operations northbridge_amd_amdk8_ops;
diff --git a/src/northbridge/amd/amdk8/root_complex/chip.h b/src/northbridge/amd/amdk8/root_complex/chip.h
index 0b49ca8ae9..a9b6b5b2cd 100644
--- a/src/northbridge/amd/amdk8/root_complex/chip.h
+++ b/src/northbridge/amd/amdk8/root_complex/chip.h
@@ -2,4 +2,3 @@ struct northbridge_amd_amdk8_root_complex_config
{
};
-extern struct chip_operations northbridge_amd_amdk8_root_complex_ops;
diff --git a/src/northbridge/amd/cimx/rd890/chip.h b/src/northbridge/amd/cimx/rd890/chip.h
index c2f985bacc..ccc979f4ea 100644
--- a/src/northbridge/amd/cimx/rd890/chip.h
+++ b/src/northbridge/amd/cimx/rd890/chip.h
@@ -17,12 +17,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
#ifndef _CIMX_RD890_CHIP_H_
#define _CIMX_RD890_CHIP_H_
-extern struct chip_operations northbridge_amd_cimx_rd890_ops;
-
/**
* RD890 specific device configuration
*/
diff --git a/src/northbridge/amd/gx1/chip.h b/src/northbridge/amd/gx1/chip.h
index 00374568bb..0378b61f2e 100644
--- a/src/northbridge/amd/gx1/chip.h
+++ b/src/northbridge/amd/gx1/chip.h
@@ -2,4 +2,3 @@ struct northbridge_amd_gx1_config
{
};
-extern struct chip_operations northbridge_amd_gx1_ops;
diff --git a/src/northbridge/amd/gx2/chip.h b/src/northbridge/amd/gx2/chip.h
index 34021ba4d5..1e266c6dc5 100644
--- a/src/northbridge/amd/gx2/chip.h
+++ b/src/northbridge/amd/gx2/chip.h
@@ -22,4 +22,3 @@ struct northbridge_amd_gx2_config
};
-extern struct chip_operations northbridge_amd_gx2_ops;
diff --git a/src/northbridge/amd/lx/chip.h b/src/northbridge/amd/lx/chip.h
index 94ef6c5599..12b50fbecf 100644
--- a/src/northbridge/amd/lx/chip.h
+++ b/src/northbridge/amd/lx/chip.h
@@ -21,4 +21,3 @@
struct northbridge_amd_lx_config {
};
-extern struct chip_operations northbridge_amd_lx_ops;
diff --git a/src/northbridge/intel/e7501/chip.h b/src/northbridge/intel/e7501/chip.h
index 458510bc9e..112c03cdc4 100644
--- a/src/northbridge/intel/e7501/chip.h
+++ b/src/northbridge/intel/e7501/chip.h
@@ -2,4 +2,3 @@ struct northbridge_intel_e7501_config
{
};
-extern struct chip_operations northbridge_intel_e7501_ops;
diff --git a/src/northbridge/intel/e7505/chip.h b/src/northbridge/intel/e7505/chip.h
index 9677dca044..8fd3cdcfb0 100644
--- a/src/northbridge/intel/e7505/chip.h
+++ b/src/northbridge/intel/e7505/chip.h
@@ -2,5 +2,3 @@ struct northbridge_intel_e7505_config
{
};
-extern struct chip_operations northbridge_intel_e7505_ops;
-
diff --git a/src/northbridge/intel/e7520/chip.h b/src/northbridge/intel/e7520/chip.h
index b02b8b8ad7..99833bd4a4 100644
--- a/src/northbridge/intel/e7520/chip.h
+++ b/src/northbridge/intel/e7520/chip.h
@@ -4,4 +4,3 @@ struct northbridge_intel_e7520_config
unsigned int intrline;
};
-extern struct chip_operations northbridge_intel_e7520_ops;
diff --git a/src/northbridge/intel/e7525/chip.h b/src/northbridge/intel/e7525/chip.h
index 7daadefefe..c7783d40c1 100644
--- a/src/northbridge/intel/e7525/chip.h
+++ b/src/northbridge/intel/e7525/chip.h
@@ -4,4 +4,3 @@ struct northbridge_intel_e7525_config
unsigned int intrline;
};
-extern struct chip_operations northbridge_intel_e7525_ops;
diff --git a/src/northbridge/intel/i3100/chip.h b/src/northbridge/intel/i3100/chip.h
index 0ed31a48a8..76e81dde68 100644
--- a/src/northbridge/intel/i3100/chip.h
+++ b/src/northbridge/intel/i3100/chip.h
@@ -23,4 +23,3 @@ struct northbridge_intel_i3100_config
u16 intrline;
};
-extern struct chip_operations northbridge_intel_i3100_ops;
diff --git a/src/northbridge/intel/i440bx/chip.h b/src/northbridge/intel/i440bx/chip.h
index a43a20cac1..15ecb4d735 100644
--- a/src/northbridge/intel/i440bx/chip.h
+++ b/src/northbridge/intel/i440bx/chip.h
@@ -22,4 +22,3 @@ struct northbridge_intel_i440bx_config
{
};
-extern struct chip_operations northbridge_intel_i440bx_ops;
diff --git a/src/northbridge/intel/i440lx/chip.h b/src/northbridge/intel/i440lx/chip.h
index 8d800f8cac..19a9b26980 100644
--- a/src/northbridge/intel/i440lx/chip.h
+++ b/src/northbridge/intel/i440lx/chip.h
@@ -22,4 +22,3 @@ struct northbridge_intel_i440lx_config
{
};
-extern struct chip_operations northbridge_intel_i440lx_ops;
diff --git a/src/northbridge/intel/i5000/chip.h b/src/northbridge/intel/i5000/chip.h
index a23be90df7..214ffcf23b 100644
--- a/src/northbridge/intel/i5000/chip.h
+++ b/src/northbridge/intel/i5000/chip.h
@@ -20,4 +20,3 @@
struct northbridge_intel_i5000_config {
};
-extern struct chip_operations northbridge_intel_i5000_ops;
diff --git a/src/northbridge/intel/i82810/chip.h b/src/northbridge/intel/i82810/chip.h
index f8c523e067..c57167756a 100644
--- a/src/northbridge/intel/i82810/chip.h
+++ b/src/northbridge/intel/i82810/chip.h
@@ -21,4 +21,3 @@
struct northbridge_intel_i82810_config {
};
-extern struct chip_operations northbridge_intel_i82810_ops;
diff --git a/src/northbridge/intel/i82830/chip.h b/src/northbridge/intel/i82830/chip.h
index af398f5e23..d0360fe925 100644
--- a/src/northbridge/intel/i82830/chip.h
+++ b/src/northbridge/intel/i82830/chip.h
@@ -21,4 +21,3 @@
struct northbridge_intel_i82830_config {
};
-extern struct chip_operations northbridge_intel_i82830_ops;
diff --git a/src/northbridge/intel/i855/chip.h b/src/northbridge/intel/i855/chip.h
index f98fe7b40a..40b1d38e1a 100644
--- a/src/northbridge/intel/i855/chip.h
+++ b/src/northbridge/intel/i855/chip.h
@@ -22,4 +22,3 @@ struct northbridge_intel_i855_config
{
};
-extern struct chip_operations northbridge_intel_i855_ops;
diff --git a/src/northbridge/intel/i945/chip.h b/src/northbridge/intel/i945/chip.h
index 6c51394d90..2deb985bb0 100644
--- a/src/northbridge/intel/i945/chip.h
+++ b/src/northbridge/intel/i945/chip.h
@@ -20,4 +20,3 @@
struct northbridge_intel_i945_config {
};
-extern struct chip_operations northbridge_intel_i945_ops;
diff --git a/src/northbridge/intel/sandybridge/chip.h b/src/northbridge/intel/sandybridge/chip.h
index bd89787463..05034f1a5a 100644
--- a/src/northbridge/intel/sandybridge/chip.h
+++ b/src/northbridge/intel/sandybridge/chip.h
@@ -40,4 +40,3 @@ struct northbridge_intel_sandybridge_config {
u32 gpu_pch_backlight; /* PCH Backlight PWM value */
};
-extern struct chip_operations northbridge_intel_sandybridge_ops;
diff --git a/src/northbridge/intel/sch/chip.h b/src/northbridge/intel/sch/chip.h
index 52c2b164c1..b3aebd35c8 100644
--- a/src/northbridge/intel/sch/chip.h
+++ b/src/northbridge/intel/sch/chip.h
@@ -20,4 +20,3 @@
struct northbridge_intel_sch_config {
};
-extern struct chip_operations northbridge_intel_sch_ops;
diff --git a/src/northbridge/rdc/r8610/chip.h b/src/northbridge/rdc/r8610/chip.h
index 01c835697f..150f032d69 100644
--- a/src/northbridge/rdc/r8610/chip.h
+++ b/src/northbridge/rdc/r8610/chip.h
@@ -21,4 +21,3 @@
struct northbridge_rdc_r8610_config {
};
-extern struct chip_operations northbridge_rdc_r8610_ops;
diff --git a/src/northbridge/via/cn400/chip.h b/src/northbridge/via/cn400/chip.h
index cc3f7c0de8..e403d352c0 100644
--- a/src/northbridge/via/cn400/chip.h
+++ b/src/northbridge/via/cn400/chip.h
@@ -21,4 +21,3 @@
struct northbridge_via_cn400_config {
};
-extern struct chip_operations northbridge_via_cn400_ops;
diff --git a/src/northbridge/via/cn700/chip.h b/src/northbridge/via/cn700/chip.h
index e5534968d7..5b1515dc8f 100644
--- a/src/northbridge/via/cn700/chip.h
+++ b/src/northbridge/via/cn700/chip.h
@@ -21,4 +21,3 @@
struct northbridge_via_cn700_config {
};
-extern struct chip_operations northbridge_via_cn700_ops;
diff --git a/src/northbridge/via/cx700/chip.h b/src/northbridge/via/cx700/chip.h
index 7b7aca8e89..0e8491bbb4 100644
--- a/src/northbridge/via/cx700/chip.h
+++ b/src/northbridge/via/cx700/chip.h
@@ -20,4 +20,3 @@
struct northbridge_via_cx700_config {
};
-extern struct chip_operations northbridge_via_cx700_ops;
diff --git a/src/northbridge/via/vt8601/chip.h b/src/northbridge/via/vt8601/chip.h
index 9f61465428..c65e12e54c 100644
--- a/src/northbridge/via/vt8601/chip.h
+++ b/src/northbridge/via/vt8601/chip.h
@@ -2,4 +2,3 @@ struct northbridge_via_vt8601_config
{
};
-extern struct chip_operations northbridge_via_vt8601_ops;
diff --git a/src/northbridge/via/vt8623/chip.h b/src/northbridge/via/vt8623/chip.h
index 6b0aa9695e..5fb3f80999 100644
--- a/src/northbridge/via/vt8623/chip.h
+++ b/src/northbridge/via/vt8623/chip.h
@@ -2,4 +2,3 @@ struct northbridge_via_vt8623_config
{
};
-extern struct chip_operations northbridge_via_vt8623_ops;
diff --git a/src/northbridge/via/vx800/chip.h b/src/northbridge/via/vx800/chip.h
index 7d7153ceda..64df31af51 100644
--- a/src/northbridge/via/vx800/chip.h
+++ b/src/northbridge/via/vx800/chip.h
@@ -20,4 +20,3 @@
struct northbridge_via_vx800_config {
};
-extern struct chip_operations northbridge_via_vx800_ops;