summaryrefslogtreecommitdiff
path: root/src/southbridge/via/vt8237r/vt8237r.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-11-04 04:04:01 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-11-04 04:04:01 +0000
commitf7daa0bbaf707a96cc9e52cc6b310a484ac7800a (patch)
tree3fe1b39996e9f065bdcbcac730f979512bf51f28 /src/southbridge/via/vt8237r/vt8237r.c
parenta29ec0633ad1cd277c17bba87d5094b2f981e726 (diff)
Various cosmetics, coding style fixes, constifications (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2939 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/via/vt8237r/vt8237r.c')
-rw-r--r--src/southbridge/via/vt8237r/vt8237r.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/southbridge/via/vt8237r/vt8237r.c b/src/southbridge/via/vt8237r/vt8237r.c
index f810de2c19..0d257d1f26 100644
--- a/src/southbridge/via/vt8237r/vt8237r.c
+++ b/src/southbridge/via/vt8237r/vt8237r.c
@@ -65,8 +65,7 @@ void dump_south(device_t dev)
for (i = 0; i < 256; i += 16) {
printk_debug("%02x: ", i);
for (j = 0; j < 16; j++) {
- printk_debug("%02x ",
- pci_read_config8(dev, i + j));
+ printk_debug("%02x ", pci_read_config8(dev, i + j));
}
printk_debug("\n");
}
@@ -75,7 +74,7 @@ void dump_south(device_t dev)
static void vt8237r_enable(struct device *dev)
{
struct southbridge_via_vt8237r_config *sb =
- (struct southbridge_via_vt8237r_config *) dev->chip_info;
+ (struct southbridge_via_vt8237r_config *)dev->chip_info;
pci_write_config8(dev, 0x50, sb->fn_ctrl_lo);
pci_write_config8(dev, 0x51, sb->fn_ctrl_hi);