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
*/
#ifndef SUPERIO_FINTEK_F71805F_F71805F_H
#define SUPERIO_FINTEK_F71805F_F71805F_H
#ifndef SUPERIO_FINTEK_F71805F_H
#define SUPERIO_FINTEK_F71805F_H
/*
* Datasheet:
@ -32,12 +32,12 @@
/* Logical Device Numbers (LDN). */
#define F71805F_FDC 0x00 /* Floppy */
#define F71805F_SP1 0x01 /* UART1 */
#define F71805F_SP2 0x02 /* UART2 */
#define F71805F_SP2 0x02 /* UART2 */
#define F71805F_PP 0x03 /* Parallel port */
#define F71805F_HWM 0x04 /* Hardware monitor */
#define F71805F_GPIO 0x06 /* General Purpose I/O (GPIO) */
#define F71805F_PME 0x0a /* Power Management Events (PME) */
#define F71805F_HWM 0x04 /* Hardware monitor */
#define F71805F_GPIO 0x06 /* General Purpose I/O (GPIO) */
#define F71805F_PME 0x0a /* Power Management Events (PME) */
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
*/
#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 */

View File

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

View File

@ -18,21 +18,21 @@
* 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 */
#define F71863FG_SP1 0x01 /* UART1 */
#define F71863FG_SP2 0x02 /* UART2 */
#define F71863FG_SP2 0x02 /* UART2 */
#define F71863FG_PP 0x03 /* Parallel port */
#define F71863FG_HWM 0x04 /* Hardware monitor */
#define F71863FG_KBC 0x05 /* PS/2 keyboard and mouse */
#define F71863FG_GPIO 0x06 /* General Purpose I/O (GPIO) */
#define F71863FG_VID 0x07 /* VID */
#define F71863FG_SPI 0x08 /* SPI */
#define F71863FG_PME 0x0a /* Power Management Events (PME) and ACPI */
#define F71863FG_HWM 0x04 /* Hardware monitor */
#define F71863FG_KBC 0x05 /* PS/2 keyboard and mouse */
#define F71863FG_GPIO 0x06 /* General Purpose I/O (GPIO) */
#define F71863FG_VID 0x07 /* VID */
#define F71863FG_SPI 0x08 /* SPI */
#define F71863FG_PME 0x0a /* Power Management Events (PME) and ACPI */
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
#include <pc80/keyboard.h>
#include <device/device.h>
struct superio_fintek_f71869ad_config {
struct pc_keyboard keyboard;

View File

@ -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 */

View File

@ -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 */

View File

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

View File

@ -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 */

View File

@ -22,19 +22,19 @@
* 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 */
#define F81865F_SP1 0x10 /* UART1 */
#define F81865F_SP2 0x11 /* UART2 */
#define F81865F_PP 0x03 /* Parallel Port */
#define F81865F_HWM 0x04 /* Hardware Monitor */
#define F81865F_KBC 0x05 /* Keyboard/Mouse */
#define F81865F_GPIO 0x06 /* General Purpose I/O (GPIO) */
#define F81865F_PME 0x0a /* Power Management Events (PME) */
#define F81865F_FDC 0x00 /* Floppy */
#define F81865F_SP1 0x10 /* UART1 */
#define F81865F_SP2 0x11 /* UART2 */
#define F81865F_PP 0x03 /* Parallel Port */
#define F81865F_HWM 0x04 /* Hardware Monitor */
#define F81865F_KBC 0x05 /* Keyboard/Mouse */
#define F81865F_GPIO 0x06 /* General Purpose I/O (GPIO) */
#define F81865F_PME 0x0a /* Power Management Events (PME) */
void f81865f_enable_serial(device_t dev, u16 iobase);
#endif /* SUPERIO_FINTEK_F81865_F81865_H */
#endif /* SUPERIO_FINTEK_F81865_H */