From 9db833bec394b886ca990965970cdb100b65d9ac Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Mon, 28 Dec 2009 09:59:44 +0000 Subject: trival. All the changes is about comment and spaces. In superio folder. 1. Delete trailing white spaces. 2. Change the // comment to /* */. 3. Add some copyright header. 4. reindent. 5. delete multi blank lines. I tried my best to find them. If anything left, please fix it or tell me. Signed-off-by: Zheng Bao Acked-by: Zheng Bao git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4993 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/superio/ite/it8716f/Config.lb | 1 - src/superio/ite/it8716f/Makefile.inc | 1 - src/superio/ite/it8716f/chip.h | 1 - src/superio/ite/it8716f/it8716f.h | 1 - src/superio/ite/it8716f/it8716f_early_init.c | 1 - src/superio/ite/it8716f/it8716f_early_serial.c | 3 +-- 6 files changed, 1 insertion(+), 7 deletions(-) (limited to 'src/superio/ite/it8716f') diff --git a/src/superio/ite/it8716f/Config.lb b/src/superio/ite/it8716f/Config.lb index e1290e2fad..8e91c171ce 100644 --- a/src/superio/ite/it8716f/Config.lb +++ b/src/superio/ite/it8716f/Config.lb @@ -20,4 +20,3 @@ config chip.h object superio.o - diff --git a/src/superio/ite/it8716f/Makefile.inc b/src/superio/ite/it8716f/Makefile.inc index cb7ac32c40..fe0dab0699 100644 --- a/src/superio/ite/it8716f/Makefile.inc +++ b/src/superio/ite/it8716f/Makefile.inc @@ -20,4 +20,3 @@ #config chip.h obj-$(CONFIG_SUPERIO_ITE_IT8716F) += superio.o - diff --git a/src/superio/ite/it8716f/chip.h b/src/superio/ite/it8716f/chip.h index d0991b700d..b7136f7a59 100644 --- a/src/superio/ite/it8716f/chip.h +++ b/src/superio/ite/it8716f/chip.h @@ -33,4 +33,3 @@ struct superio_ite_it8716f_config { }; #endif /* _SUPERIO_ITE_IT8716F */ - diff --git a/src/superio/ite/it8716f/it8716f.h b/src/superio/ite/it8716f/it8716f.h index d3a6d58c61..cc6ad9c4e3 100644 --- a/src/superio/ite/it8716f/it8716f.h +++ b/src/superio/ite/it8716f/it8716f.h @@ -32,4 +32,3 @@ #define IT8716F_MIDI 0x08 /* MIDI port */ #define IT8716F_GAME 0x09 /* GAME port */ #define IT8716F_IR 0x0a /* Consumer IR */ - diff --git a/src/superio/ite/it8716f/it8716f_early_init.c b/src/superio/ite/it8716f/it8716f_early_init.c index e8fdeb8d8f..5a621f19c1 100644 --- a/src/superio/ite/it8716f/it8716f_early_init.c +++ b/src/superio/ite/it8716f/it8716f_early_init.c @@ -35,4 +35,3 @@ static void it8716f_enable_dev(device_t dev, unsigned iobase) pnp_set_iobase(dev, PNP_IDX_IO0, iobase); pnp_set_enable(dev, 1); } - diff --git a/src/superio/ite/it8716f/it8716f_early_serial.c b/src/superio/ite/it8716f/it8716f_early_serial.c index e34cf4210c..37a79a1594 100644 --- a/src/superio/ite/it8716f/it8716f_early_serial.c +++ b/src/superio/ite/it8716f/it8716f_early_serial.c @@ -41,7 +41,7 @@ /* Perform MB PnP setup to put the SIO chip at 0x2e. */ /* Base address 0x2e: 0x87 0x01 0x55 0x55. */ /* Base address 0x4e: 0x87 0x01 0x55 0xaa. */ -static inline void pnp_enter_ext_func_mode(device_t dev) +static inline void pnp_enter_ext_func_mode(device_t dev) { unsigned port = dev >> 8; outb(0x87, port); @@ -68,4 +68,3 @@ static void it8716f_enable_serial(device_t dev, unsigned iobase) pnp_set_enable(dev, 1); pnp_exit_ext_func_mode(dev); } - -- cgit v1.2.3