summaryrefslogtreecommitdiff
path: root/src/superio
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/superio
parent0d5d70b79a3824bfa46a7035d901cb0e7672e3fe (diff)
downloadcoreboot-fee73df07ac0d17f319486f977585c7945e0d069.tar.xz
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/superio')
-rw-r--r--src/superio/fintek/f71805f/chip.h2
-rw-r--r--src/superio/fintek/f71859/chip.h2
-rw-r--r--src/superio/fintek/f71863fg/chip.h2
-rw-r--r--src/superio/fintek/f71872/chip.h2
-rw-r--r--src/superio/fintek/f71889/chip.h2
-rw-r--r--src/superio/fintek/f81865f/chip.h2
-rw-r--r--src/superio/intel/i3100/chip.h2
-rw-r--r--src/superio/ite/it8661f/chip.h2
-rw-r--r--src/superio/ite/it8671f/chip.h2
-rw-r--r--src/superio/ite/it8673f/chip.h2
-rw-r--r--src/superio/ite/it8705f/chip.h2
-rw-r--r--src/superio/ite/it8712f/chip.h2
-rw-r--r--src/superio/ite/it8716f/chip.h2
-rw-r--r--src/superio/ite/it8718f/chip.h2
-rw-r--r--src/superio/ite/it8721f/chip.h2
-rw-r--r--src/superio/ite/it8772f/chip.h2
-rw-r--r--src/superio/nsc/pc8374/chip.h3
-rw-r--r--src/superio/nsc/pc87309/chip.h2
-rw-r--r--src/superio/nsc/pc87351/chip.h3
-rw-r--r--src/superio/nsc/pc87360/chip.h3
-rw-r--r--src/superio/nsc/pc87366/chip.h2
-rw-r--r--src/superio/nsc/pc87382/chip.h1
-rw-r--r--src/superio/nsc/pc87384/chip.h1
-rw-r--r--src/superio/nsc/pc87392/chip.h2
-rw-r--r--src/superio/nsc/pc87417/chip.h2
-rw-r--r--src/superio/nsc/pc87427/chip.h2
-rw-r--r--src/superio/nsc/pc97307/chip.h2
-rw-r--r--src/superio/nsc/pc97317/chip.h2
-rw-r--r--src/superio/nuvoton/wpcm450/chip.h3
-rw-r--r--src/superio/renesas/m3885x/chip.h2
-rw-r--r--src/superio/smsc/fdc37m60x/chip.h2
-rw-r--r--src/superio/smsc/fdc37n972/chip.h2
-rw-r--r--src/superio/smsc/kbc1100/chip.h3
-rw-r--r--src/superio/smsc/lpc47b272/chip.h3
-rw-r--r--src/superio/smsc/lpc47b397/chip.h3
-rw-r--r--src/superio/smsc/lpc47m10x/chip.h3
-rw-r--r--src/superio/smsc/lpc47m15x/chip.h3
-rw-r--r--src/superio/smsc/lpc47n217/chip.h3
-rw-r--r--src/superio/smsc/lpc47n227/chip.h2
-rw-r--r--src/superio/smsc/mec1308/chip.h3
-rw-r--r--src/superio/smsc/sch4037/chip.h3
-rw-r--r--src/superio/smsc/sio1036/chip.h3
-rw-r--r--src/superio/smsc/sio10n268/chip.h2
-rw-r--r--src/superio/smsc/smscsuperio/chip.h2
-rw-r--r--src/superio/via/vt1211/chip.h2
-rw-r--r--src/superio/winbond/w83627dhg/chip.h2
-rw-r--r--src/superio/winbond/w83627ehg/chip.h2
-rw-r--r--src/superio/winbond/w83627hf/chip.h2
-rw-r--r--src/superio/winbond/w83627thg/chip.h2
-rw-r--r--src/superio/winbond/w83627uhg/chip.h2
-rw-r--r--src/superio/winbond/w83697hf/chip.h2
-rw-r--r--src/superio/winbond/w83977f/chip.h2
-rw-r--r--src/superio/winbond/w83977tf/chip.h2
53 files changed, 0 insertions, 117 deletions
diff --git a/src/superio/fintek/f71805f/chip.h b/src/superio/fintek/f71805f/chip.h
index 60eb684a32..603dbee365 100644
--- a/src/superio/fintek/f71805f/chip.h
+++ b/src/superio/fintek/f71805f/chip.h
@@ -26,8 +26,6 @@
/* This chip doesn't have keyboard and mouse support. */
-extern struct chip_operations superio_fintek_f71805f_ops;
-
struct superio_fintek_f71805f_config {
};
diff --git a/src/superio/fintek/f71859/chip.h b/src/superio/fintek/f71859/chip.h
index 157ed26ab1..bd45ac0376 100644
--- a/src/superio/fintek/f71859/chip.h
+++ b/src/superio/fintek/f71859/chip.h
@@ -24,8 +24,6 @@
#include <device/device.h>
#include <uart8250.h>
-extern struct chip_operations superio_fintek_f71859_ops;
-
struct superio_fintek_f71859_config {
};
diff --git a/src/superio/fintek/f71863fg/chip.h b/src/superio/fintek/f71863fg/chip.h
index ade7498e35..522603b11a 100644
--- a/src/superio/fintek/f71863fg/chip.h
+++ b/src/superio/fintek/f71863fg/chip.h
@@ -25,8 +25,6 @@
#include <device/device.h>
#include <uart8250.h>
-extern struct chip_operations superio_fintek_f71863fg_ops;
-
struct superio_fintek_f71863fg_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/fintek/f71872/chip.h b/src/superio/fintek/f71872/chip.h
index bd41dd679d..d897fae0b2 100644
--- a/src/superio/fintek/f71872/chip.h
+++ b/src/superio/fintek/f71872/chip.h
@@ -24,8 +24,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_fintek_f71872_ops;
-
struct superio_fintek_f71872_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/fintek/f71889/chip.h b/src/superio/fintek/f71889/chip.h
index 65ae8700ab..49e8cdd52b 100644
--- a/src/superio/fintek/f71889/chip.h
+++ b/src/superio/fintek/f71889/chip.h
@@ -25,8 +25,6 @@
#include <device/device.h>
#include <uart8250.h>
-extern struct chip_operations superio_fintek_f71889_ops;
-
struct superio_fintek_f71889_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/fintek/f81865f/chip.h b/src/superio/fintek/f81865f/chip.h
index 711e2d0a58..29fb3a671a 100644
--- a/src/superio/fintek/f81865f/chip.h
+++ b/src/superio/fintek/f81865f/chip.h
@@ -26,8 +26,6 @@
/* This chip doesn't have keyboard and mouse support. */
-extern struct chip_operations superio_fintek_f81865f_ops;
-
struct superio_fintek_f81865f_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/intel/i3100/chip.h b/src/superio/intel/i3100/chip.h
index 4ed322527a..05e2f452bf 100644
--- a/src/superio/intel/i3100/chip.h
+++ b/src/superio/intel/i3100/chip.h
@@ -24,8 +24,6 @@
#include <device/device.h>
#include <uart8250.h>
-extern struct chip_operations superio_intel_i3100_ops;
-
struct superio_intel_i3100_config {
};
diff --git a/src/superio/ite/it8661f/chip.h b/src/superio/ite/it8661f/chip.h
index 64b2cf873f..1d9d1f9ba3 100644
--- a/src/superio/ite/it8661f/chip.h
+++ b/src/superio/ite/it8661f/chip.h
@@ -26,8 +26,6 @@
#include <device/device.h>
#include <uart8250.h>
-extern struct chip_operations superio_ite_it8661f_ops;
-
struct superio_ite_it8661f_config {
};
diff --git a/src/superio/ite/it8671f/chip.h b/src/superio/ite/it8671f/chip.h
index 7fa7e26f57..7659c87aee 100644
--- a/src/superio/ite/it8671f/chip.h
+++ b/src/superio/ite/it8671f/chip.h
@@ -25,8 +25,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_ite_it8671f_ops;
-
struct superio_ite_it8671f_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/ite/it8673f/chip.h b/src/superio/ite/it8673f/chip.h
index 126180a19f..ace1725378 100644
--- a/src/superio/ite/it8673f/chip.h
+++ b/src/superio/ite/it8673f/chip.h
@@ -25,8 +25,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_ite_it8673f_ops;
-
struct superio_ite_it8673f_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/ite/it8705f/chip.h b/src/superio/ite/it8705f/chip.h
index df620a8906..ac2ba77e87 100644
--- a/src/superio/ite/it8705f/chip.h
+++ b/src/superio/ite/it8705f/chip.h
@@ -26,8 +26,6 @@
#include <device/device.h>
#include <uart8250.h>
-extern struct chip_operations superio_ite_it8705f_ops;
-
struct superio_ite_it8705f_config {
};
diff --git a/src/superio/ite/it8712f/chip.h b/src/superio/ite/it8712f/chip.h
index 18630066db..bb200e5762 100644
--- a/src/superio/ite/it8712f/chip.h
+++ b/src/superio/ite/it8712f/chip.h
@@ -25,8 +25,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_ite_it8712f_ops;
-
struct superio_ite_it8712f_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/ite/it8716f/chip.h b/src/superio/ite/it8716f/chip.h
index 16b69ce261..8aaed3533d 100644
--- a/src/superio/ite/it8716f/chip.h
+++ b/src/superio/ite/it8716f/chip.h
@@ -25,8 +25,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_ite_it8716f_ops;
-
struct superio_ite_it8716f_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/ite/it8718f/chip.h b/src/superio/ite/it8718f/chip.h
index 43f7152fbb..e70967a334 100644
--- a/src/superio/ite/it8718f/chip.h
+++ b/src/superio/ite/it8718f/chip.h
@@ -25,8 +25,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_ite_it8718f_ops;
-
struct superio_ite_it8718f_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/ite/it8721f/chip.h b/src/superio/ite/it8721f/chip.h
index 3717d1967f..eb91566da2 100644
--- a/src/superio/ite/it8721f/chip.h
+++ b/src/superio/ite/it8721f/chip.h
@@ -25,8 +25,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_ite_it8721f_ops;
-
struct superio_ite_it8721f_config {
struct pc_keyboard keyboard;
};
diff --git a/src/superio/ite/it8772f/chip.h b/src/superio/ite/it8772f/chip.h
index e91f6fac53..1bfe8610b7 100644
--- a/src/superio/ite/it8772f/chip.h
+++ b/src/superio/ite/it8772f/chip.h
@@ -25,8 +25,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_ite_it8772f_ops;
-
struct superio_ite_it8772f_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/nsc/pc8374/chip.h b/src/superio/nsc/pc8374/chip.h
index 4ae78f8ac0..2487b0c9a5 100644
--- a/src/superio/nsc/pc8374/chip.h
+++ b/src/superio/nsc/pc8374/chip.h
@@ -22,9 +22,6 @@
#ifndef SUPERIO_NSC_PC8374_CHIP_H
#define SUPERIO_NSC_PC8374_CHIP_H
-struct chip_operations;
-extern struct chip_operations superio_nsc_pc8374_ops;
-
#include <pc80/keyboard.h>
#include <uart8250.h>
diff --git a/src/superio/nsc/pc87309/chip.h b/src/superio/nsc/pc87309/chip.h
index b9f5a7a9f9..4a9954a645 100644
--- a/src/superio/nsc/pc87309/chip.h
+++ b/src/superio/nsc/pc87309/chip.h
@@ -24,8 +24,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_nsc_pc87309_ops;
-
struct superio_nsc_pc87309_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/nsc/pc87351/chip.h b/src/superio/nsc/pc87351/chip.h
index 46b56afb71..41e7e702ad 100644
--- a/src/superio/nsc/pc87351/chip.h
+++ b/src/superio/nsc/pc87351/chip.h
@@ -22,9 +22,6 @@
#ifndef SUPERIO_NSC_PC87351_CHIP_H
#define SUPERIO_NSC_PC87351_CHIP_H
-struct chip_operations;
-extern struct chip_operations superio_nsc_pc87351_ops;
-
#include <pc80/keyboard.h>
#include <uart8250.h>
diff --git a/src/superio/nsc/pc87360/chip.h b/src/superio/nsc/pc87360/chip.h
index 0cc6a89ee7..e562733710 100644
--- a/src/superio/nsc/pc87360/chip.h
+++ b/src/superio/nsc/pc87360/chip.h
@@ -22,9 +22,6 @@
#ifndef SUPERIO_NSC_PC87360_CHIP_H
#define SUPERIO_NSC_PC87360_CHIP_H
-struct chip_operations;
-extern struct chip_operations superio_nsc_pc87360_ops;
-
#include <pc80/keyboard.h>
#include <uart8250.h>
diff --git a/src/superio/nsc/pc87366/chip.h b/src/superio/nsc/pc87366/chip.h
index 6f656d4a65..1377bb8cd0 100644
--- a/src/superio/nsc/pc87366/chip.h
+++ b/src/superio/nsc/pc87366/chip.h
@@ -22,8 +22,6 @@
#ifndef SUPERIO_NSC_PC87366_CHIP_H
#define SUPERIO_NSC_PC87366_CHIP_H
-extern struct chip_operations superio_nsc_pc87366_ops;
-
#include <pc80/keyboard.h>
#include <uart8250.h>
diff --git a/src/superio/nsc/pc87382/chip.h b/src/superio/nsc/pc87382/chip.h
index 8cc049f52f..a9f0200f18 100644
--- a/src/superio/nsc/pc87382/chip.h
+++ b/src/superio/nsc/pc87382/chip.h
@@ -22,7 +22,6 @@
#define SUPERIO_NSC_PC87382_CHIP_H
#include <uart8250.h>
-extern struct chip_operations superio_nsc_pc87382_ops;
struct superio_nsc_pc87382_config {
diff --git a/src/superio/nsc/pc87384/chip.h b/src/superio/nsc/pc87384/chip.h
index ef202fc68b..1c49725235 100644
--- a/src/superio/nsc/pc87384/chip.h
+++ b/src/superio/nsc/pc87384/chip.h
@@ -22,7 +22,6 @@
#define SUPERIO_NSC_PC87384_CHIP_H
#include <uart8250.h>
-extern struct chip_operations superio_nsc_pc87384_ops;
struct superio_nsc_pc87384_config {
diff --git a/src/superio/nsc/pc87392/chip.h b/src/superio/nsc/pc87392/chip.h
index 8b5fc52bfe..a6ebf1b5d9 100644
--- a/src/superio/nsc/pc87392/chip.h
+++ b/src/superio/nsc/pc87392/chip.h
@@ -21,8 +21,6 @@
#ifndef SUPERIO_NSC_PC87392_CHIP_H
#define SUPERIO_NSC_PC87392_CHIP_H
-extern struct chip_operations superio_nsc_pc87392_ops;
-
#include <uart8250.h>
struct superio_nsc_pc87392_config {
diff --git a/src/superio/nsc/pc87417/chip.h b/src/superio/nsc/pc87417/chip.h
index ec3c381c92..1d85fd9c21 100644
--- a/src/superio/nsc/pc87417/chip.h
+++ b/src/superio/nsc/pc87417/chip.h
@@ -23,8 +23,6 @@
#ifndef SUPERIO_NSC_PC87417_CHIP_H
#define SUPERIO_NSC_PC87417_CHIP_H
-extern struct chip_operations superio_nsc_pc87417_ops;
-
#include <pc80/keyboard.h>
#include <uart8250.h>
diff --git a/src/superio/nsc/pc87427/chip.h b/src/superio/nsc/pc87427/chip.h
index 610dbdf8f7..46c358f0c6 100644
--- a/src/superio/nsc/pc87427/chip.h
+++ b/src/superio/nsc/pc87427/chip.h
@@ -22,8 +22,6 @@
#ifndef SUPERIO_NSC_PC87427_CHIP_H
#define SUPERIO_NSC_PC87427_CHIP_H
-extern struct chip_operations superio_nsc_pc87427_ops;
-
#include <pc80/keyboard.h>
#include <uart8250.h>
diff --git a/src/superio/nsc/pc97307/chip.h b/src/superio/nsc/pc97307/chip.h
index cc43323f79..4d1df1f7b6 100644
--- a/src/superio/nsc/pc97307/chip.h
+++ b/src/superio/nsc/pc97307/chip.h
@@ -28,8 +28,6 @@
#define PNP_DATA_REG 0x15D
#endif
-extern struct chip_operations superio_nsc_pc97307_ops;
-
#include <pc80/keyboard.h>
#include <uart8250.h>
diff --git a/src/superio/nsc/pc97317/chip.h b/src/superio/nsc/pc97317/chip.h
index 4eb0c19cd9..23f8d2e743 100644
--- a/src/superio/nsc/pc97317/chip.h
+++ b/src/superio/nsc/pc97317/chip.h
@@ -28,8 +28,6 @@
#define PNP_DATA_REG 0x15D
#endif
-extern struct chip_operations superio_nsc_pc97317_ops;
-
#include <pc80/keyboard.h>
#include <uart8250.h>
diff --git a/src/superio/nuvoton/wpcm450/chip.h b/src/superio/nuvoton/wpcm450/chip.h
index c921120501..75dd194e1e 100644
--- a/src/superio/nuvoton/wpcm450/chip.h
+++ b/src/superio/nuvoton/wpcm450/chip.h
@@ -21,9 +21,6 @@
#ifndef SUPERIO_NUVOTON_WPCM450_CHIP_H
#define SUPERIO_NUVOTON_WPCM450_CHIP_H
-struct chip_operations;
-extern struct chip_operations superio_nuvoton_wpcm450_ops;
-
#include <pc80/keyboard.h>
#include <uart8250.h>
diff --git a/src/superio/renesas/m3885x/chip.h b/src/superio/renesas/m3885x/chip.h
index da2336d5df..2b0b76a512 100644
--- a/src/superio/renesas/m3885x/chip.h
+++ b/src/superio/renesas/m3885x/chip.h
@@ -23,8 +23,6 @@
#include <device/device.h>
#include <pc80/keyboard.h>
-extern struct chip_operations superio_renesas_m3885x_ops;
-
struct superio_renesas_m3885x_config {
struct pc_keyboard keyboard;
};
diff --git a/src/superio/smsc/fdc37m60x/chip.h b/src/superio/smsc/fdc37m60x/chip.h
index 450ef75fbe..8ca701f197 100644
--- a/src/superio/smsc/fdc37m60x/chip.h
+++ b/src/superio/smsc/fdc37m60x/chip.h
@@ -25,8 +25,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_smsc_fdc37m60x_ops;
-
struct superio_smsc_fdc37m60x_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/smsc/fdc37n972/chip.h b/src/superio/smsc/fdc37n972/chip.h
index 858cf532c1..caf5b14722 100644
--- a/src/superio/smsc/fdc37n972/chip.h
+++ b/src/superio/smsc/fdc37n972/chip.h
@@ -24,8 +24,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_smsc_fdc37n972_ops;
-
struct superio_smsc_fdc37n972_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/smsc/kbc1100/chip.h b/src/superio/smsc/kbc1100/chip.h
index 40aff0bf7d..6c5425a656 100644
--- a/src/superio/smsc/kbc1100/chip.h
+++ b/src/superio/smsc/kbc1100/chip.h
@@ -23,9 +23,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-struct chip_operations;
-extern struct chip_operations superio_smsc_kbc1100_ops;
-
struct superio_smsc_kbc1100_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/smsc/lpc47b272/chip.h b/src/superio/smsc/lpc47b272/chip.h
index 754d63d967..eab8c9bde1 100644
--- a/src/superio/smsc/lpc47b272/chip.h
+++ b/src/superio/smsc/lpc47b272/chip.h
@@ -21,9 +21,6 @@
#ifndef SUPERIO_SMSC_LPC47B272_CHIP_H
#define SUPERIO_SMSC_LPC47B272_CHIP_H
-struct chip_operations;
-extern struct chip_operations superio_smsc_lpc47b272_ops;
-
#include <pc80/keyboard.h>
#include <uart8250.h>
diff --git a/src/superio/smsc/lpc47b397/chip.h b/src/superio/smsc/lpc47b397/chip.h
index 48fc6e475d..e0d131f9a0 100644
--- a/src/superio/smsc/lpc47b397/chip.h
+++ b/src/superio/smsc/lpc47b397/chip.h
@@ -23,9 +23,6 @@
#ifndef SUPERIO_SMSC_LPC47B397_CHIP_H
#define SUPERIO_SMSC_LPC47B397_CHIP_H
-struct chip_operations;
-extern struct chip_operations superio_smsc_lpc47b397_ops;
-
#include <pc80/keyboard.h>
#include <uart8250.h>
diff --git a/src/superio/smsc/lpc47m10x/chip.h b/src/superio/smsc/lpc47m10x/chip.h
index 6d6ee97603..c8c293c84c 100644
--- a/src/superio/smsc/lpc47m10x/chip.h
+++ b/src/superio/smsc/lpc47m10x/chip.h
@@ -25,9 +25,6 @@
#ifndef SUPERIO_SMSC_LPC47M10X_CHIP_H
#define SUPERIO_SMSC_LPC47M10X_CHIP_H
-struct chip_operations;
-extern struct chip_operations superio_smsc_lpc47m10x_ops;
-
#include <pc80/keyboard.h>
#include <uart8250.h>
diff --git a/src/superio/smsc/lpc47m15x/chip.h b/src/superio/smsc/lpc47m15x/chip.h
index 57aba06dd8..2b5489a2d7 100644
--- a/src/superio/smsc/lpc47m15x/chip.h
+++ b/src/superio/smsc/lpc47m15x/chip.h
@@ -20,9 +20,6 @@
#ifndef SUPERIO_SMSC_LPC47M15X_CHIP_H
#define SUPERIO_SMSC_LPC47M15X_CHIP_H
-struct chip_operations;
-extern struct chip_operations superio_smsc_lpc47m15x_ops;
-
#include <pc80/keyboard.h>
#include <uart8250.h>
diff --git a/src/superio/smsc/lpc47n217/chip.h b/src/superio/smsc/lpc47n217/chip.h
index 89a778c22c..b0fbe8cfe6 100644
--- a/src/superio/smsc/lpc47n217/chip.h
+++ b/src/superio/smsc/lpc47n217/chip.h
@@ -21,9 +21,6 @@
#ifndef SUPERIO_SMSC_LPC47N217_CHIP_H
#define SUPERIO_SMSC_LPC47N217_CHIP_H
-struct chip_operations;
-extern struct chip_operations superio_smsc_lpc47n217_ops;
-
#include <uart8250.h>
struct superio_smsc_lpc47n217_config {
diff --git a/src/superio/smsc/lpc47n227/chip.h b/src/superio/smsc/lpc47n227/chip.h
index 8b3a2c9dfc..36ae6e33b5 100644
--- a/src/superio/smsc/lpc47n227/chip.h
+++ b/src/superio/smsc/lpc47n227/chip.h
@@ -24,8 +24,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_smsc_lpc47n227_ops;
-
struct superio_smsc_lpc47n227_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/smsc/mec1308/chip.h b/src/superio/smsc/mec1308/chip.h
index 3826888dd0..0ebb1b6cd7 100644
--- a/src/superio/smsc/mec1308/chip.h
+++ b/src/superio/smsc/mec1308/chip.h
@@ -23,9 +23,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-struct chip_operations;
-extern struct chip_operations superio_smsc_mec1308_ops;
-
struct superio_smsc_mec1308_config {
struct pc_keyboard keyboard;
};
diff --git a/src/superio/smsc/sch4037/chip.h b/src/superio/smsc/sch4037/chip.h
index 3223750bf6..d79ccc16f7 100644
--- a/src/superio/smsc/sch4037/chip.h
+++ b/src/superio/smsc/sch4037/chip.h
@@ -23,9 +23,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-struct chip_operations;
-extern struct chip_operations superio_smsc_sch4037_ops;
-
struct superio_smsc_sch4037_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/smsc/sio1036/chip.h b/src/superio/smsc/sio1036/chip.h
index abed430cf8..a37f84f2a8 100644
--- a/src/superio/smsc/sio1036/chip.h
+++ b/src/superio/smsc/sio1036/chip.h
@@ -23,9 +23,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-struct chip_operations;
-extern struct chip_operations superio_smsc_kbc1100_ops;
-
struct superio_smsc_sio1036_config {
struct uart8250 com1;
};
diff --git a/src/superio/smsc/sio10n268/chip.h b/src/superio/smsc/sio10n268/chip.h
index cd6e87bede..22d8a3ab2b 100644
--- a/src/superio/smsc/sio10n268/chip.h
+++ b/src/superio/smsc/sio10n268/chip.h
@@ -24,8 +24,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_smsc_sio10n268_ops;
-
struct superio_smsc_sio10n268_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/smsc/smscsuperio/chip.h b/src/superio/smsc/smscsuperio/chip.h
index 86f93be58d..0f3a14d29d 100644
--- a/src/superio/smsc/smscsuperio/chip.h
+++ b/src/superio/smsc/smscsuperio/chip.h
@@ -25,8 +25,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_smsc_smscsuperio_ops;
-
struct superio_smsc_smscsuperio_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/via/vt1211/chip.h b/src/superio/via/vt1211/chip.h
index 3fcd6ae1b1..89d64cda20 100644
--- a/src/superio/via/vt1211/chip.h
+++ b/src/superio/via/vt1211/chip.h
@@ -23,8 +23,6 @@
#include <uart8250.h>
-extern struct chip_operations superio_via_vt1211_ops;
-
struct superio_via_vt1211_config {
};
diff --git a/src/superio/winbond/w83627dhg/chip.h b/src/superio/winbond/w83627dhg/chip.h
index b516aacad0..5fdbd16075 100644
--- a/src/superio/winbond/w83627dhg/chip.h
+++ b/src/superio/winbond/w83627dhg/chip.h
@@ -24,8 +24,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_winbond_w83627dhg_ops;
-
struct superio_winbond_w83627dhg_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/winbond/w83627ehg/chip.h b/src/superio/winbond/w83627ehg/chip.h
index a16135dc0e..51137461af 100644
--- a/src/superio/winbond/w83627ehg/chip.h
+++ b/src/superio/winbond/w83627ehg/chip.h
@@ -25,8 +25,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_winbond_w83627ehg_ops;
-
struct superio_winbond_w83627ehg_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/winbond/w83627hf/chip.h b/src/superio/winbond/w83627hf/chip.h
index 64d9920464..b7f2177590 100644
--- a/src/superio/winbond/w83627hf/chip.h
+++ b/src/superio/winbond/w83627hf/chip.h
@@ -26,8 +26,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_winbond_w83627hf_ops;
-
struct superio_winbond_w83627hf_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/winbond/w83627thg/chip.h b/src/superio/winbond/w83627thg/chip.h
index ce06485665..8268e5b892 100644
--- a/src/superio/winbond/w83627thg/chip.h
+++ b/src/superio/winbond/w83627thg/chip.h
@@ -26,8 +26,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_winbond_w83627thg_ops;
-
struct superio_winbond_w83627thg_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/winbond/w83627uhg/chip.h b/src/superio/winbond/w83627uhg/chip.h
index 2802382ab9..d23eac2ac9 100644
--- a/src/superio/winbond/w83627uhg/chip.h
+++ b/src/superio/winbond/w83627uhg/chip.h
@@ -24,8 +24,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_winbond_w83627uhg_ops;
-
struct superio_winbond_w83627uhg_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/winbond/w83697hf/chip.h b/src/superio/winbond/w83697hf/chip.h
index 2359b6679f..4d36af9150 100644
--- a/src/superio/winbond/w83697hf/chip.h
+++ b/src/superio/winbond/w83697hf/chip.h
@@ -23,8 +23,6 @@
#include <uart8250.h>
-extern struct chip_operations superio_winbond_w83697hf_ops;
-
struct superio_winbond_w83697hf_config {
unsigned int hwmon_fan1_divisor;
unsigned int hwmon_fan2_divisor;
diff --git a/src/superio/winbond/w83977f/chip.h b/src/superio/winbond/w83977f/chip.h
index aacb00918c..d6c85bfedd 100644
--- a/src/superio/winbond/w83977f/chip.h
+++ b/src/superio/winbond/w83977f/chip.h
@@ -24,8 +24,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_winbond_w83977f_ops;
-
struct superio_winbond_w83977f_config {
struct pc_keyboard keyboard;
diff --git a/src/superio/winbond/w83977tf/chip.h b/src/superio/winbond/w83977tf/chip.h
index 80c4afd856..2a594e3c32 100644
--- a/src/superio/winbond/w83977tf/chip.h
+++ b/src/superio/winbond/w83977tf/chip.h
@@ -26,8 +26,6 @@
#include <pc80/keyboard.h>
#include <uart8250.h>
-extern struct chip_operations superio_winbond_w83977tf_ops;
-
struct superio_winbond_w83977tf_config {
struct pc_keyboard keyboard;