superio/fintek/*: Fix header style
Remove some redundant includes. Fix repetitiveness in include guards and strip some misplaced tabs for whitespaces. Change-Id: I1f0bf6951cc6714f63e88b323754515fb02c089c Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5572 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
20f25dd5c8
commit
6d51f6b2e8
|
@ -18,8 +18,8 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef SUPERIO_FINTEK_F71805F_F71805F_H
|
||||
#define SUPERIO_FINTEK_F71805F_F71805F_H
|
||||
#ifndef SUPERIO_FINTEK_F71805F_H
|
||||
#define SUPERIO_FINTEK_F71805F_H
|
||||
|
||||
/*
|
||||
* Datasheet:
|
||||
|
@ -40,4 +40,4 @@
|
|||
|
||||
void f71805f_enable_serial(device_t dev, u16 iobase);
|
||||
|
||||
#endif /* SUPERIO_FINTEK_F71805F_F71805F_H */
|
||||
#endif /* SUPERIO_FINTEK_F71805F_H */
|
||||
|
|
|
@ -18,12 +18,12 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef SUPERIO_FINTEK_F71859_F71859_H
|
||||
#define SUPERIO_FINTEK_F71859_F71859_H
|
||||
#ifndef SUPERIO_FINTEK_F71859_H
|
||||
#define SUPERIO_FINTEK_F71859_H
|
||||
|
||||
/* Logical Device Numbers (LDN). */
|
||||
#define F71859_SP1 0x03 /* UART1 */
|
||||
|
||||
void f71859_enable_serial(device_t dev, u16 iobase);
|
||||
|
||||
#endif /* SUPERIO_FINTEK_F71859_F71859_H */
|
||||
#endif /* SUPERIO_FINTEK_F71859_H */
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#define SUPERIO_FINTEK_F71863FG_CHIP_H
|
||||
|
||||
#include <pc80/keyboard.h>
|
||||
#include <device/device.h>
|
||||
|
||||
struct superio_fintek_f71863fg_config {
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef SUPERIO_FINTEK_F71863FG_F71863FG_H
|
||||
#define SUPERIO_FINTEK_F71863FG_F71863FG_H
|
||||
#ifndef SUPERIO_FINTEK_F71863FG_H
|
||||
#define SUPERIO_FINTEK_F71863FG_H
|
||||
|
||||
/* Logical Device Numbers (LDN). */
|
||||
#define F71863FG_FDC 0x00 /* Floppy */
|
||||
|
@ -35,4 +35,4 @@
|
|||
|
||||
void f71863fg_enable_serial(device_t dev, u16 iobase);
|
||||
|
||||
#endif /* SUPERIO_FINTEK_F71863FG_F71863FG_H */
|
||||
#endif /* SUPERIO_FINTEK_F71863FG_H */
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#define SUPERIO_FINTEK_F71869AD_CHIP_H
|
||||
|
||||
#include <pc80/keyboard.h>
|
||||
#include <device/device.h>
|
||||
|
||||
struct superio_fintek_f71869ad_config {
|
||||
struct pc_keyboard keyboard;
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef SUPERIO_FINTEK_F71869AD_F71869AD_H
|
||||
#define SUPERIO_FINTEK_F71869AD_F71869AD_H
|
||||
#ifndef SUPERIO_FINTEK_F71869AD_H
|
||||
#define SUPERIO_FINTEK_F71869AD_H
|
||||
|
||||
/* Logical Device Numbers (LDN). */
|
||||
#define F71869AD_FDC 0x00 /* Floppy */
|
||||
|
@ -34,4 +34,4 @@
|
|||
|
||||
void f71869ad_enable_serial(device_t dev, u16 iobase);
|
||||
|
||||
#endif /* SUPERIO_FINTEK_F71869AD_F71869AD_H */
|
||||
#endif /* SUPERIO_FINTEK_F71869AD_H */
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef SUPERIO_FINTEK_F71872_F71872_H
|
||||
#define SUPERIO_FINTEK_F71872_F71872_H
|
||||
#ifndef SUPERIO_FINTEK_F71872_H
|
||||
#define SUPERIO_FINTEK_F71872_H
|
||||
|
||||
/* Logical Device Numbers (LDN). */
|
||||
#define F71872_FDC 0x00 /* Floppy */
|
||||
|
@ -34,4 +34,4 @@
|
|||
|
||||
void f71872_enable_serial(device_t dev, u16 iobase);
|
||||
|
||||
#endif /* SUPERIO_FINTEK_F71872_F71872_H */
|
||||
#endif /* SUPERIO_FINTEK_F71872_H */
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#define SUPERIO_FINTEK_F71889_CHIP_H
|
||||
|
||||
#include <pc80/keyboard.h>
|
||||
#include <device/device.h>
|
||||
|
||||
struct superio_fintek_f71889_config {
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef SUPERIO_FINTEK_F71889_F71889_H
|
||||
#define SUPERIO_FINTEK_F71889_F71889_H
|
||||
#ifndef SUPERIO_FINTEK_F71889_H
|
||||
#define SUPERIO_FINTEK_F71889_H
|
||||
|
||||
/* Logical Device Numbers (LDN). */
|
||||
#define F71889_FDC 0x00 /* Floppy */
|
||||
|
@ -36,4 +36,4 @@
|
|||
|
||||
void f71889_enable_serial(device_t dev, u16 iobase);
|
||||
|
||||
#endif /* SUPERIO_FINTEK_F71889_F71889_H */
|
||||
#endif /* SUPERIO_FINTEK_F71889_H */
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
* Datasheet:
|
||||
* - Name: F81865F/F-I
|
||||
*/
|
||||
#ifndef SUPERIO_FINTEK_F81865_F81865_H
|
||||
#define SUPERIO_FINTEK_F81865_F81865_H
|
||||
#ifndef SUPERIO_FINTEK_F81865_H
|
||||
#define SUPERIO_FINTEK_F81865_H
|
||||
|
||||
/* Logical Device Numbers (LDN). */
|
||||
#define F81865F_FDC 0x00 /* Floppy */
|
||||
|
@ -37,4 +37,4 @@
|
|||
|
||||
void f81865f_enable_serial(device_t dev, u16 iobase);
|
||||
|
||||
#endif /* SUPERIO_FINTEK_F81865_F81865_H */
|
||||
#endif /* SUPERIO_FINTEK_F81865_H */
|
||||
|
|
Loading…
Reference in New Issue