git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of ssh://master.kernel.org/pub/scm/linux/kernel/git/ieee1394...
[pandora-kernel.git]
/
arch
/
v850
/
kernel
/
rte_mb_a_pci.c
diff --git
a/arch/v850/kernel/rte_mb_a_pci.c
b/arch/v850/kernel/rte_mb_a_pci.c
index
35213fa
..
35a4bd5
100644
(file)
--- a/
arch/v850/kernel/rte_mb_a_pci.c
+++ b/
arch/v850/kernel/rte_mb_a_pci.c
@@
-70,8
+70,7
@@
static struct mb_pci_dev_irq mb_pci_dev_irqs[] = {
/* PCI slot 2 */
{ 9, IRQ_MB_A_PCI2(0), 1 }
};
-#define NUM_MB_PCI_DEV_IRQS \
- (sizeof mb_pci_dev_irqs / sizeof mb_pci_dev_irqs[0])
+#define NUM_MB_PCI_DEV_IRQS ARRAY_SIZE(mb_pci_dev_irqs)
\f
/* PCI configuration primitives. */