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/superio/nsc | |
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/superio/nsc')
-rw-r--r-- | src/superio/nsc/pc8374/chip.h | 3 | ||||
-rw-r--r-- | src/superio/nsc/pc87309/chip.h | 2 | ||||
-rw-r--r-- | src/superio/nsc/pc87351/chip.h | 3 | ||||
-rw-r--r-- | src/superio/nsc/pc87360/chip.h | 3 | ||||
-rw-r--r-- | src/superio/nsc/pc87366/chip.h | 2 | ||||
-rw-r--r-- | src/superio/nsc/pc87382/chip.h | 1 | ||||
-rw-r--r-- | src/superio/nsc/pc87384/chip.h | 1 | ||||
-rw-r--r-- | src/superio/nsc/pc87392/chip.h | 2 | ||||
-rw-r--r-- | src/superio/nsc/pc87417/chip.h | 2 | ||||
-rw-r--r-- | src/superio/nsc/pc87427/chip.h | 2 | ||||
-rw-r--r-- | src/superio/nsc/pc97307/chip.h | 2 | ||||
-rw-r--r-- | src/superio/nsc/pc97317/chip.h | 2 |
12 files changed, 0 insertions, 25 deletions
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> |