Skip to content

Commit 4f82eef

Browse files
masneybtsbogend
authored andcommitted
MIPS: pic32: include linux/io.h header on several files
The pic32.h header includes linux/io.h, however nothing from that include file is directly used by pic32.h. Several C files that include pic32.h indirectly depend on linux/io.h, so let's go ahead and add the missing include so that linux/io.h can be dropped from pic32.h. Signed-off-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent d463fc5 commit 4f82eef

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

arch/mips/pic32/common/reset.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Copyright (C) 2015 Microchip Technology Inc. All rights reserved.
55
*/
66
#include <linux/init.h>
7+
#include <linux/io.h>
78
#include <linux/pm.h>
89
#include <asm/reboot.h>
910
#include <asm/mach-pic32/pic32.h>

arch/mips/pic32/pic32mzda/early_clk.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Joshua Henderson <joshua.henderson@microchip.com>
44
* Copyright (C) 2015 Microchip Technology Inc. All rights reserved.
55
*/
6+
#include <linux/io.h>
67
#include <asm/mach-pic32/pic32.h>
78

89
#include "pic32mzda.h"

arch/mips/pic32/pic32mzda/early_console.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Joshua Henderson <joshua.henderson@microchip.com>
44
* Copyright (C) 2015 Microchip Technology Inc. All rights reserved.
55
*/
6+
#include <linux/io.h>
67
#include <asm/mach-pic32/pic32.h>
78
#include <asm/fw/fw.h>
89
#include <asm/setup.h>

0 commit comments

Comments
 (0)