diff options
author | Wu Zhangjin <wuzj@lemote.com> | 2009-07-02 23:23:03 +0800 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-09-17 20:07:46 +0200 |
commit | 5e983ff654ca3df3007b5b558b5271bb4622afa4 (patch) | |
tree | f15edfeb1df8e0b1874adec3e09a4fc1c58d59f2 /arch/mips/include/asm/mach-lemote/pci.h | |
parent | bd92aa013e8fcd17328ec8e060477761cf3380d9 (diff) | |
download | op-kernel-dev-5e983ff654ca3df3007b5b558b5271bb4622afa4.zip op-kernel-dev-5e983ff654ca3df3007b5b558b5271bb4622afa4.tar.gz |
MIPS: Loongson: clean up the coding style
With the help of script/checkpatch.pl, i have cleaned up the coding
style.
1. remove un-needed header files and tune some comments.
2. remove some un-needed { }
add a new header file loongson.h:
3. move some common header files to loongson.h
4. move some common extern declartions to loongson.h
and this new header file is needed for future loongson2f support.
Signed-off-by: Wu Zhangjin <wuzj@lemote.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-lemote/pci.h')
-rw-r--r-- | arch/mips/include/asm/mach-lemote/pci.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/mips/include/asm/mach-lemote/pci.h b/arch/mips/include/asm/mach-lemote/pci.h index 0307e49..92b2f59 100644 --- a/arch/mips/include/asm/mach-lemote/pci.h +++ b/arch/mips/include/asm/mach-lemote/pci.h @@ -19,11 +19,13 @@ * 02139, USA. */ -#ifndef _LEMOTE_PCI_H_ -#define _LEMOTE_PCI_H_ +#ifndef __ASM_MACH_LEMOTE_PCI_H_ +#define __ASM_MACH_LEMOTE_PCI_H_ + +extern struct pci_ops bonito64_pci_ops; #define LOONGSON2E_PCI_MEM_START 0x14000000UL #define LOONGSON2E_PCI_MEM_END 0x1fffffffUL #define LOONGSON2E_PCI_IO_START 0x00004000UL -#endif /* !_LEMOTE_PCI_H_ */ +#endif /* !__ASM_MACH_LEMOTE_PCI_H_ */ |