staging: cxt1e1: Fix no spaces at the start of a line in hwprobe.c
clean up checkpatch.pl warnings: WARNING: please no spaces at the start of a line in Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
37cc9913d8
commit
aee0bda81b
@ -52,7 +52,8 @@ show_two(hdw_info_t *hi, int brdno)
|
|||||||
char banner[80];
|
char banner[80];
|
||||||
char sn[6];
|
char sn[6];
|
||||||
|
|
||||||
memset(banner, 0, 80); /* clear print buffer */
|
/* clear print buffer */
|
||||||
|
memset(banner, 0, 80);
|
||||||
|
|
||||||
ci = (ci_t *)(netdev_priv(hi->ndev));
|
ci = (ci_t *)(netdev_priv(hi->ndev));
|
||||||
bid = sbeid_get_bdname(ci);
|
bid = sbeid_get_bdname(ci);
|
||||||
@ -82,15 +83,15 @@ show_two(hdw_info_t *hi, int brdno)
|
|||||||
pr_info("%s: %s at v/p=%lx/%lx (%02x:%02x.%x) irq %d\n",
|
pr_info("%s: %s at v/p=%lx/%lx (%02x:%02x.%x) irq %d\n",
|
||||||
hi->devname, "MUSYCC",
|
hi->devname, "MUSYCC",
|
||||||
(unsigned long) hi->addr_mapped[0], hi->addr[0],
|
(unsigned long) hi->addr_mapped[0], hi->addr[0],
|
||||||
hi->pci_busno, (u_int8_t)PCI_SLOT(pdev->devfn),
|
hi->pci_busno, (u_int8_t) PCI_SLOT(pdev->devfn),
|
||||||
(u_int8_t)PCI_FUNC(pdev->devfn), pdev->irq);
|
(u_int8_t) PCI_FUNC(pdev->devfn), pdev->irq);
|
||||||
|
|
||||||
pdev = hi->pdev[1];
|
pdev = hi->pdev[1];
|
||||||
pr_info("%s: %s at v/p=%lx/%lx (%02x:%02x.%x) irq %d\n",
|
pr_info("%s: %s at v/p=%lx/%lx (%02x:%02x.%x) irq %d\n",
|
||||||
hi->devname, "EBUS ",
|
hi->devname, "EBUS ",
|
||||||
(unsigned long) hi->addr_mapped[1], hi->addr[1],
|
(unsigned long) hi->addr_mapped[1], hi->addr[1],
|
||||||
hi->pci_busno, (u_int8_t)PCI_SLOT(pdev->devfn),
|
hi->pci_busno, (u_int8_t) PCI_SLOT(pdev->devfn),
|
||||||
(u_int8_t)PCI_FUNC(pdev->devfn), pdev->irq);
|
(u_int8_t) PCI_FUNC(pdev->devfn), pdev->irq);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -144,7 +145,7 @@ hdw_sn_get(hdw_info_t *hi, int brdno)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void __init
|
void __init
|
||||||
prep_hdw_info(void)
|
prep_hdw_info(void)
|
||||||
{
|
{
|
||||||
hdw_info_t *hi;
|
hdw_info_t *hi;
|
||||||
@ -228,6 +229,7 @@ c4_hdw_init(struct pci_dev *pdev, int found)
|
|||||||
pr_warning("unexpected devfun: 0x%x\n", pdev->devfn);
|
pr_warning("unexpected devfun: 0x%x\n", pdev->devfn);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pdev->bus) /* obtain bus number */
|
if (pdev->bus) /* obtain bus number */
|
||||||
busno = pdev->bus->number;
|
busno = pdev->bus->number;
|
||||||
else
|
else
|
||||||
@ -287,7 +289,6 @@ c4_hdw_init(struct pci_dev *pdev, int found)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
status_t __init
|
status_t __init
|
||||||
c4hw_attach_all(void)
|
c4hw_attach_all(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user