From: Wei Yongjun Date: Fri, 20 Feb 2009 23:38:40 +0000 (-0800) Subject: mn10300: fix typo && -> || in arch/mn10300/unit-asb2305/pci.c X-Git-Tag: v2.6.29-rc6~30 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=d9190913b71831f5e3d04de62cfb1fd069a9db35;hp=58bafe72ad937ec0813109254a154cf32be25fc4;p=linux-2.6-block.git mn10300: fix typo && -> || in arch/mn10300/unit-asb2305/pci.c Fix the typo && -> ||. Signed-off-by: Wei Yongjun Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/mn10300/unit-asb2305/pci.c b/arch/mn10300/unit-asb2305/pci.c index 1a86425fec42..07dbbcda3b2e 100644 --- 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 && - (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);