diff options
author | Ishizaki Kou | 2008-03-14 13:19:34 +0100 |
---|---|---|
committer | Paul Mackerras | 2008-04-16 23:46:10 +0200 |
commit | 2fe37a6ec933ca7332a8ca8d29e87705116afd3a (patch) | |
tree | a114cf4a9313b20dbd09cd81a23cb4dd7d3e9fc2 /arch/powerpc/platforms/celleb/scc_epci.c | |
parent | Merge branch 'for-2.6.26' of master.kernel.org:/pub/scm/linux/kernel/git/olof... (diff) | |
download | kernel-qcow2-linux-2fe37a6ec933ca7332a8ca8d29e87705116afd3a.tar.gz kernel-qcow2-linux-2fe37a6ec933ca7332a8ca8d29e87705116afd3a.tar.xz kernel-qcow2-linux-2fe37a6ec933ca7332a8ca8d29e87705116afd3a.zip |
[POWERPC] celleb: Coding style cleanup
Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/celleb/scc_epci.c')
-rw-r--r-- | arch/powerpc/platforms/celleb/scc_epci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/celleb/scc_epci.c b/arch/powerpc/platforms/celleb/scc_epci.c index a3c7cfbcb323..a999b393f6f6 100644 --- a/arch/powerpc/platforms/celleb/scc_epci.c +++ b/arch/powerpc/platforms/celleb/scc_epci.c @@ -161,9 +161,9 @@ static PCI_IO_ADDR celleb_epci_make_config_addr( if (bus != hose->bus) addr = celleb_epci_get_epci_cfg(hose) + (((bus->number & 0xff) << 16) - | ((devfn & 0xff) << 8) - | (where & 0xff) - | 0x01000000); + | ((devfn & 0xff) << 8) + | (where & 0xff) + | 0x01000000); else addr = celleb_epci_get_epci_cfg(hose) + (((devfn & 0xff) << 8) | (where & 0xff)); @@ -174,7 +174,7 @@ static PCI_IO_ADDR celleb_epci_make_config_addr( } static int celleb_epci_read_config(struct pci_bus *bus, - unsigned int devfn, int where, int size, u32 * val) + unsigned int devfn, int where, int size, u32 *val) { PCI_IO_ADDR epci_base; PCI_IO_ADDR addr; |