diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2010-12-18 13:22:37 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2010-12-18 13:22:37 +0000 |
commit | 405721d45c8f7cd58c2466e43df8c2aee6f8e714 (patch) | |
tree | d9c981c99cf28f931032dabb26094494622f7bb6 /src/southbridge/intel/sch/usb.c | |
parent | a0360af0f1645d91b139022353f7a3a9f7f85f8a (diff) |
Fix a few whitespace and coding style issues.
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@6200 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/intel/sch/usb.c')
-rw-r--r-- | src/southbridge/intel/sch/usb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/southbridge/intel/sch/usb.c b/src/southbridge/intel/sch/usb.c index 95fc79be93..03aaba5967 100644 --- a/src/southbridge/intel/sch/usb.c +++ b/src/southbridge/intel/sch/usb.c @@ -6,8 +6,7 @@ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; version 2 of - * the License. + * published by the Free Software Foundation; version 2 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -28,12 +27,12 @@ static void usb_init(struct device *dev) { u32 reg32; - /* USB Specification says the device must be Bus Master */ + /* USB Specification says the device must be Bus Master. */ printk(BIOS_DEBUG, "UHCI: Setting up controller.. "); reg32 = pci_read_config32(dev, PCI_COMMAND); pci_write_config32(dev, PCI_COMMAND, reg32 | PCI_COMMAND_MASTER); - /*Disable clock gating*/ + /* Disable clock gating. */ reg32 = pci_read_config32(dev, 0xFC); reg32 |= (1 << 2); pci_write_config32(dev, 0xFC, reg32); @@ -61,7 +60,7 @@ static void usb_set_subsystem(device_t dev, unsigned vendor, unsigned device) } static struct pci_operations usb_pci_ops = { - .set_subsystem = usb_set_subsystem, + .set_subsystem = usb_set_subsystem, }; static struct device_operations usb_ops = { @@ -73,17 +72,18 @@ static struct device_operations usb_ops = { .ops_pci = &usb_pci_ops, }; -/* */ static const struct pci_driver sch_usb0 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x8114, }; + static const struct pci_driver sch_usb1 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x8115, }; + static const struct pci_driver sch_usb2 __pci_driver = { .ops = &usb_ops, .vendor = PCI_VENDOR_ID_INTEL, |