Commit 4cd6bacf authored by Peter Vernia's avatar Peter Vernia Committed by Greg Kroah-Hartman

staging: mt7621-pci: Move open-braces to match kernel code style

Moves some open-braces to the end of the conditional statement to match the
kernel's coding style
Signed-off-by: default avatarPeter Vernia <peter.vernia@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bd84b268
...@@ -532,8 +532,7 @@ static int mt7621_pci_probe(struct platform_device *pdev) ...@@ -532,8 +532,7 @@ static int mt7621_pci_probe(struct platform_device *pdev)
*(unsigned int *)(0xbe000620) |= 0x1<<19 | 0x1<<8 | 0x1<<7; // set DATA *(unsigned int *)(0xbe000620) |= 0x1<<19 | 0x1<<8 | 0x1<<7; // set DATA
mdelay(1000); mdelay(1000);
if ((RALINK_PCI0_STATUS & 0x1) == 0) if ((RALINK_PCI0_STATUS & 0x1) == 0) {
{
printk("PCIE0 no card, disable it(RST&CLK)\n"); printk("PCIE0 no card, disable it(RST&CLK)\n");
ASSERT_SYSRST_PCIE(RALINK_PCIE0_RST); ASSERT_SYSRST_PCIE(RALINK_PCIE0_RST);
rt_sysc_m32(RALINK_PCIE0_CLK_EN, 0, RALINK_CLKCFG1); rt_sysc_m32(RALINK_PCIE0_CLK_EN, 0, RALINK_CLKCFG1);
...@@ -543,8 +542,7 @@ static int mt7621_pci_probe(struct platform_device *pdev) ...@@ -543,8 +542,7 @@ static int mt7621_pci_probe(struct platform_device *pdev)
RALINK_PCI_PCIMSK_ADDR |= (1<<20); // enable pcie1 interrupt RALINK_PCI_PCIMSK_ADDR |= (1<<20); // enable pcie1 interrupt
} }
if ((RALINK_PCI1_STATUS & 0x1) == 0) if ((RALINK_PCI1_STATUS & 0x1) == 0) {
{
printk("PCIE1 no card, disable it(RST&CLK)\n"); printk("PCIE1 no card, disable it(RST&CLK)\n");
ASSERT_SYSRST_PCIE(RALINK_PCIE1_RST); ASSERT_SYSRST_PCIE(RALINK_PCIE1_RST);
rt_sysc_m32(RALINK_PCIE1_CLK_EN, 0, RALINK_CLKCFG1); rt_sysc_m32(RALINK_PCIE1_CLK_EN, 0, RALINK_CLKCFG1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment