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>
This commit is contained in:
committed by
Anton Kochkov
parent
0d5d70b79a
commit
fee73df07a
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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 */
|
||||
|
Reference in New Issue
Block a user