Skip to content

Commit cbcea29

Browse files
Fabio Estevamsaschahauer
authored andcommitted
ARM: mx5: Fix checkpatch warnings in cpu-imx5.c
Fix the following warnings reported by checkpatch: WARNING: Use #include <linux/io.h> instead of <asm/io.h> torvalds#19: FILE: arm/mach-imx/cpu-imx5.c:19: +#include <asm/io.h> WARNING: line over 80 characters #70: FILE: arm/mach-imx/cpu-imx5.c:70: + if (mx51_revision() < IMX_CHIP_REVISION_3_0 && (elf_hwcap & HWCAP_NEON)) { Signed-off-by: Fabio Estevam <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
1 parent b458557 commit cbcea29

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arch/arm/mach-mx5/cpu.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <linux/init.h>
1717
#include <linux/module.h>
1818
#include <mach/hardware.h>
19-
#include <asm/io.h>
19+
#include <linux/io.h>
2020

2121
static int mx5_cpu_rev = -1;
2222

@@ -67,7 +67,8 @@ static int __init mx51_neon_fixup(void)
6767
if (!cpu_is_mx51())
6868
return 0;
6969

70-
if (mx51_revision() < IMX_CHIP_REVISION_3_0 && (elf_hwcap & HWCAP_NEON)) {
70+
if (mx51_revision() < IMX_CHIP_REVISION_3_0 &&
71+
(elf_hwcap & HWCAP_NEON)) {
7172
elf_hwcap &= ~HWCAP_NEON;
7273
pr_info("Turning off NEON support, detected broken NEON implementation\n");
7374
}

0 commit comments

Comments
 (0)