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/ec | |
parent | 0d5d70b79a3824bfa46a7035d901cb0e7672e3fe (diff) | |
download | coreboot-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/ec')
-rw-r--r-- | src/ec/lenovo/h8/chip.h | 1 | ||||
-rw-r--r-- | src/ec/lenovo/pmh7/chip.h | 2 | ||||
-rw-r--r-- | src/ec/smsc/mec1308/chip.h | 3 |
3 files changed, 0 insertions, 6 deletions
diff --git a/src/ec/lenovo/h8/chip.h b/src/ec/lenovo/h8/chip.h index 3a75f3bb84..1b14aa9b29 100644 --- a/src/ec/lenovo/h8/chip.h +++ b/src/ec/lenovo/h8/chip.h @@ -20,7 +20,6 @@ #ifndef EC_LENOVO_H8EC_CHIP_H #define EC_LENOVO_H8EC_CHIP_H -extern struct chip_operations ec_lenovo_h8_ops; struct ec_lenovo_h8_config { u8 config0; diff --git a/src/ec/lenovo/pmh7/chip.h b/src/ec/lenovo/pmh7/chip.h index 725a5d5c74..c7e1de6808 100644 --- a/src/ec/lenovo/pmh7/chip.h +++ b/src/ec/lenovo/pmh7/chip.h @@ -20,8 +20,6 @@ #ifndef EC_LENOVO_PMH7_CHIP_H #define EC_LENOVO_PMH7_CHIP_H -extern struct chip_operations ec_lenovo_pmh7_ops; - struct ec_lenovo_pmh7_config { int backlight_enable:1; int dock_event_enable:1; diff --git a/src/ec/smsc/mec1308/chip.h b/src/ec/smsc/mec1308/chip.h index 3a8eae8f8a..1768185184 100644 --- a/src/ec/smsc/mec1308/chip.h +++ b/src/ec/smsc/mec1308/chip.h @@ -27,7 +27,4 @@ struct ec_smsc_mec1308_config u16 mailbox_port; }; -struct chip_operations; -extern struct chip_operations ec_smsc_mec1308_ops; - #endif /* _EC_SMSC_MEC1308_CHIP_H */ |