projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mn10300: fix typo && -> || in arch/mn10300/unit-asb2305/pci.c
[linux-2.6-block.git]
/
arch
/
mn10300
/
unit-asb2305
/
pci.c
diff --git
a/arch/mn10300/unit-asb2305/pci.c
b/arch/mn10300/unit-asb2305/pci.c
index 1a86425fec42302a9f6558c6e40279ddcc85e2f2..07dbbcda3b2e5dc57f71ee2ba376f6da83010d63 100644
(file)
--- a/
arch/mn10300/unit-asb2305/pci.c
+++ b/
arch/mn10300/unit-asb2305/pci.c
@@
-173,7
+173,7
@@
static int pci_ampci_write_config_byte(struct pci_bus *bus, unsigned int devfn,
BRIDGEREGB(where) = value;
} else {
if (bus->number == 0 &&
BRIDGEREGB(where) = value;
} else {
if (bus->number == 0 &&
- (devfn == PCI_DEVFN(2, 0)
&&
devfn == PCI_DEVFN(3, 0))
+ (devfn == PCI_DEVFN(2, 0)
||
devfn == PCI_DEVFN(3, 0))
)
__pcidebug("<= %02x", bus, devfn, where, value);
CONFIG_ADDRESS = CONFIG_CMD(bus, devfn, where);
)
__pcidebug("<= %02x", bus, devfn, where, value);
CONFIG_ADDRESS = CONFIG_CMD(bus, devfn, where);