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:
Edward O'Callaghan 2014-04-23 17:01:45 +10:00 committed by Patrick Georgi
parent 20f25dd5c8
commit 6d51f6b2e8
10 changed files with 40 additions and 43 deletions

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef SUPERIO_FINTEK_F71805F_F71805F_H #ifndef SUPERIO_FINTEK_F71805F_H
#define SUPERIO_FINTEK_F71805F_F71805F_H #define SUPERIO_FINTEK_F71805F_H
/* /*
* Datasheet: * Datasheet:
@ -40,4 +40,4 @@
void f71805f_enable_serial(device_t dev, u16 iobase); void f71805f_enable_serial(device_t dev, u16 iobase);
#endif /* SUPERIO_FINTEK_F71805F_F71805F_H */ #endif /* SUPERIO_FINTEK_F71805F_H */

View File

@ -18,12 +18,12 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef SUPERIO_FINTEK_F71859_F71859_H #ifndef SUPERIO_FINTEK_F71859_H
#define SUPERIO_FINTEK_F71859_F71859_H #define SUPERIO_FINTEK_F71859_H
/* Logical Device Numbers (LDN). */ /* Logical Device Numbers (LDN). */
#define F71859_SP1 0x03 /* UART1 */ #define F71859_SP1 0x03 /* UART1 */
void f71859_enable_serial(device_t dev, u16 iobase); void f71859_enable_serial(device_t dev, u16 iobase);
#endif /* SUPERIO_FINTEK_F71859_F71859_H */ #endif /* SUPERIO_FINTEK_F71859_H */

View File

@ -22,7 +22,6 @@
#define SUPERIO_FINTEK_F71863FG_CHIP_H #define SUPERIO_FINTEK_F71863FG_CHIP_H
#include <pc80/keyboard.h> #include <pc80/keyboard.h>
#include <device/device.h>
struct superio_fintek_f71863fg_config { struct superio_fintek_f71863fg_config {

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef SUPERIO_FINTEK_F71863FG_F71863FG_H #ifndef SUPERIO_FINTEK_F71863FG_H
#define SUPERIO_FINTEK_F71863FG_F71863FG_H #define SUPERIO_FINTEK_F71863FG_H
/* Logical Device Numbers (LDN). */ /* Logical Device Numbers (LDN). */
#define F71863FG_FDC 0x00 /* Floppy */ #define F71863FG_FDC 0x00 /* Floppy */
@ -35,4 +35,4 @@
void f71863fg_enable_serial(device_t dev, u16 iobase); void f71863fg_enable_serial(device_t dev, u16 iobase);
#endif /* SUPERIO_FINTEK_F71863FG_F71863FG_H */ #endif /* SUPERIO_FINTEK_F71863FG_H */

View File

@ -22,7 +22,6 @@
#define SUPERIO_FINTEK_F71869AD_CHIP_H #define SUPERIO_FINTEK_F71869AD_CHIP_H
#include <pc80/keyboard.h> #include <pc80/keyboard.h>
#include <device/device.h>
struct superio_fintek_f71869ad_config { struct superio_fintek_f71869ad_config {
struct pc_keyboard keyboard; struct pc_keyboard keyboard;

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef SUPERIO_FINTEK_F71869AD_F71869AD_H #ifndef SUPERIO_FINTEK_F71869AD_H
#define SUPERIO_FINTEK_F71869AD_F71869AD_H #define SUPERIO_FINTEK_F71869AD_H
/* Logical Device Numbers (LDN). */ /* Logical Device Numbers (LDN). */
#define F71869AD_FDC 0x00 /* Floppy */ #define F71869AD_FDC 0x00 /* Floppy */
@ -34,4 +34,4 @@
void f71869ad_enable_serial(device_t dev, u16 iobase); void f71869ad_enable_serial(device_t dev, u16 iobase);
#endif /* SUPERIO_FINTEK_F71869AD_F71869AD_H */ #endif /* SUPERIO_FINTEK_F71869AD_H */

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef SUPERIO_FINTEK_F71872_F71872_H #ifndef SUPERIO_FINTEK_F71872_H
#define SUPERIO_FINTEK_F71872_F71872_H #define SUPERIO_FINTEK_F71872_H
/* Logical Device Numbers (LDN). */ /* Logical Device Numbers (LDN). */
#define F71872_FDC 0x00 /* Floppy */ #define F71872_FDC 0x00 /* Floppy */
@ -34,4 +34,4 @@
void f71872_enable_serial(device_t dev, u16 iobase); void f71872_enable_serial(device_t dev, u16 iobase);
#endif /* SUPERIO_FINTEK_F71872_F71872_H */ #endif /* SUPERIO_FINTEK_F71872_H */

View File

@ -22,7 +22,6 @@
#define SUPERIO_FINTEK_F71889_CHIP_H #define SUPERIO_FINTEK_F71889_CHIP_H
#include <pc80/keyboard.h> #include <pc80/keyboard.h>
#include <device/device.h>
struct superio_fintek_f71889_config { struct superio_fintek_f71889_config {

View File

@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef SUPERIO_FINTEK_F71889_F71889_H #ifndef SUPERIO_FINTEK_F71889_H
#define SUPERIO_FINTEK_F71889_F71889_H #define SUPERIO_FINTEK_F71889_H
/* Logical Device Numbers (LDN). */ /* Logical Device Numbers (LDN). */
#define F71889_FDC 0x00 /* Floppy */ #define F71889_FDC 0x00 /* Floppy */
@ -36,4 +36,4 @@
void f71889_enable_serial(device_t dev, u16 iobase); void f71889_enable_serial(device_t dev, u16 iobase);
#endif /* SUPERIO_FINTEK_F71889_F71889_H */ #endif /* SUPERIO_FINTEK_F71889_H */

View File

@ -22,8 +22,8 @@
* Datasheet: * Datasheet:
* - Name: F81865F/F-I * - Name: F81865F/F-I
*/ */
#ifndef SUPERIO_FINTEK_F81865_F81865_H #ifndef SUPERIO_FINTEK_F81865_H
#define SUPERIO_FINTEK_F81865_F81865_H #define SUPERIO_FINTEK_F81865_H
/* Logical Device Numbers (LDN). */ /* Logical Device Numbers (LDN). */
#define F81865F_FDC 0x00 /* Floppy */ #define F81865F_FDC 0x00 /* Floppy */
@ -37,4 +37,4 @@
void f81865f_enable_serial(device_t dev, u16 iobase); void f81865f_enable_serial(device_t dev, u16 iobase);
#endif /* SUPERIO_FINTEK_F81865_F81865_H */ #endif /* SUPERIO_FINTEK_F81865_H */