diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-06-12 19:17:57 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-06-12 19:17:57 +0000 |
commit | 6a5112a75054f4315c5042dcb83837dc35e0c488 (patch) | |
tree | 37d00c9aac134a7b17b855da089886dcfe2c33c1 /target/linux/adm5120/files/arch/mips/pci | |
parent | d3b8685cd79e04f6c215e13220b9ba8784ea7e0a (diff) | |
download | mtk-20170518-6a5112a75054f4315c5042dcb83837dc35e0c488.zip mtk-20170518-6a5112a75054f4315c5042dcb83837dc35e0c488.tar.gz mtk-20170518-6a5112a75054f4315c5042dcb83837dc35e0c488.tar.bz2 |
cleanup files using checkpatch.pl
SVN-Revision: 27162
Diffstat (limited to 'target/linux/adm5120/files/arch/mips/pci')
-rw-r--r-- | target/linux/adm5120/files/arch/mips/pci/pci-adm5120.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/adm5120/files/arch/mips/pci/pci-adm5120.c b/target/linux/adm5120/files/arch/mips/pci/pci-adm5120.c index 0bef804..86657ce 100644 --- a/target/linux/adm5120/files/arch/mips/pci/pci-adm5120.c +++ b/target/linux/adm5120/files/arch/mips/pci/pci-adm5120.c @@ -21,12 +21,12 @@ #include <linux/init.h> #include <linux/spinlock.h> #include <linux/io.h> +#include <linux/delay.h> #include <linux/pci.h> #include <linux/pci_ids.h> #include <linux/pci_regs.h> -#include <asm/delay.h> #include <asm/bootinfo.h> #include <asm/mach-adm5120/adm5120_defs.h> @@ -71,8 +71,8 @@ static inline u32 read_cfgdata(void) static inline u32 mkaddr(struct pci_bus *bus, unsigned int devfn, int where) { - return (((bus->number & 0xFF) << 16) | ((devfn & 0xFF) << 8) | \ - (where & 0xFC)); + return ((bus->number & 0xFF) << 16) | ((devfn & 0xFF) << 8) | \ + (where & 0xFC); } /* -------------------------------------------------------------------------*/ |