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
@@ -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 {
|
||||
|
||||
};
|
||||
|
@@ -24,8 +24,6 @@
|
||||
#include <device/device.h>
|
||||
#include <uart8250.h>
|
||||
|
||||
extern struct chip_operations superio_fintek_f71859_ops;
|
||||
|
||||
struct superio_fintek_f71859_config {
|
||||
|
||||
};
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -24,8 +24,6 @@
|
||||
#include <device/device.h>
|
||||
#include <uart8250.h>
|
||||
|
||||
extern struct chip_operations superio_intel_i3100_ops;
|
||||
|
||||
struct superio_intel_i3100_config {
|
||||
};
|
||||
|
||||
|
@@ -26,8 +26,6 @@
|
||||
#include <device/device.h>
|
||||
#include <uart8250.h>
|
||||
|
||||
extern struct chip_operations superio_ite_it8661f_ops;
|
||||
|
||||
struct superio_ite_it8661f_config {
|
||||
|
||||
};
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -26,8 +26,6 @@
|
||||
#include <device/device.h>
|
||||
#include <uart8250.h>
|
||||
|
||||
extern struct chip_operations superio_ite_it8705f_ops;
|
||||
|
||||
struct superio_ite_it8705f_config {
|
||||
|
||||
};
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
};
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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 {
|
||||
|
||||
|
@@ -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 {
|
||||
|
||||
|
@@ -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 {
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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;
|
||||
};
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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 {
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
};
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
};
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -23,8 +23,6 @@
|
||||
|
||||
#include <uart8250.h>
|
||||
|
||||
extern struct chip_operations superio_via_vt1211_ops;
|
||||
|
||||
struct superio_via_vt1211_config {
|
||||
|
||||
};
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user