summaryrefslogtreecommitdiff
path: root/src/superio/smsc
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/smsc
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/superio/smsc')
-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
14 files changed, 0 insertions, 37 deletions
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;