Skip to content

Commit 2a3d830

Browse files
SShubh123Kalle Valo
authored andcommitted
ssb: pcicore: Fix indentation of comment
Shifted the closing */ to the next line This is done to maintain code uniformity. Acked-by: Michael Büsch <[email protected]> Signed-off-by: Shubhankar Kuranagatti <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/20210428161836.sdrxzcrfiekloucz@kewl-virtual-machine
1 parent 5615eb5 commit 2a3d830

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

drivers/ssb/driver_pcicore.c

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ void pcicore_write16(struct ssb_pcicore *pc, u16 offset, u16 value)
5555
#include <asm/paccess.h>
5656
/* Probe a 32bit value on the bus and catch bus exceptions.
5757
* Returns nonzero on a bus exception.
58-
* This is MIPS specific */
58+
* This is MIPS specific
59+
*/
5960
#define mips_busprobe32(val, addr) get_dbe((val), ((u32 *)(addr)))
6061

6162
/* Assume one-hot slot wiring */
@@ -255,7 +256,8 @@ static struct pci_controller ssb_pcicore_controller = {
255256
};
256257

257258
/* This function is called when doing a pci_enable_device().
258-
* We must first check if the device is a device on the PCI-core bridge. */
259+
* We must first check if the device is a device on the PCI-core bridge.
260+
*/
259261
int ssb_pcicore_plat_dev_init(struct pci_dev *d)
260262
{
261263
if (d->bus->ops != &ssb_pcicore_pciops) {
@@ -381,11 +383,13 @@ static void ssb_pcicore_init_hostmode(struct ssb_pcicore *pc)
381383

382384
/* Ok, ready to run, register it to the system.
383385
* The following needs change, if we want to port hostmode
384-
* to non-MIPS platform. */
386+
* to non-MIPS platform.
387+
*/
385388
ssb_pcicore_controller.io_map_base = (unsigned long)ioremap(SSB_PCI_MEM, 0x04000000);
386389
set_io_port_base(ssb_pcicore_controller.io_map_base);
387390
/* Give some time to the PCI controller to configure itself with the new
388-
* values. Not waiting at this point causes crashes of the machine. */
391+
* values. Not waiting at this point causes crashes of the machine.
392+
*/
389393
mdelay(10);
390394
register_pci_controller(&ssb_pcicore_controller);
391395
}
@@ -405,7 +409,8 @@ static int pcicore_is_in_hostmode(struct ssb_pcicore *pc)
405409
return 0;
406410

407411
/* The 200-pin BCM4712 package does not bond out PCI. Even when
408-
* PCI is bonded out, some boards may leave the pins floating. */
412+
* PCI is bonded out, some boards may leave the pins floating.
413+
*/
409414
if (bus->chip_id == 0x4712) {
410415
if (bus->chip_package == SSB_CHIPPACK_BCM4712S)
411416
return 0;
@@ -685,7 +690,8 @@ int ssb_pcicore_dev_irqvecs_enable(struct ssb_pcicore *pc,
685690
if (dev->bus->bustype != SSB_BUSTYPE_PCI) {
686691
/* This SSB device is not on a PCI host-bus. So the IRQs are
687692
* not routed through the PCI core.
688-
* So we must not enable routing through the PCI core. */
693+
* So we must not enable routing through the PCI core.
694+
*/
689695
goto out;
690696
}
691697

0 commit comments

Comments
 (0)