mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
MIPS: update include to use pic32.h from platform_data
Use the linux/platform_data/pic32.h include instead of asm/mach-pic32/pic32.h so that the asm variant can be dropped. This is in preparation for allowing some drivers to be compiled on other architectures with COMPILE_TEST enabled. Signed-off-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
1 parent
d1c7ad0441
commit
77485091b6
4 files changed
+4
-5
No files matched your search
@@ -5,9 +5,9 @@
|
||||
*/
|
||||
#include <linux/init.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/platform_data/pic32.h>
|
||||
#include <linux/pm.h>
|
||||
#include <asm/reboot.h>
|
||||
#include <asm/mach-pic32/pic32.h>
|
||||
|
||||
#define PIC32_RSWRST 0x10
|
||||
|
||||
|
||||
@@ -5,10 +5,9 @@
|
||||
*/
|
||||
#include <linux/init.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/platform_data/pic32.h>
|
||||
#include <linux/spinlock.h>
|
||||
|
||||
#include <asm/mach-pic32/pic32.h>
|
||||
|
||||
#include "pic32mzda.h"
|
||||
|
||||
#define PIC32_CFGCON 0x0000
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Copyright (C) 2015 Microchip Technology Inc. All rights reserved.
|
||||
*/
|
||||
#include <linux/io.h>
|
||||
#include <asm/mach-pic32/pic32.h>
|
||||
#include <linux/platform_data/pic32.h>
|
||||
|
||||
#include "pic32mzda.h"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Copyright (C) 2015 Microchip Technology Inc. All rights reserved.
|
||||
*/
|
||||
#include <linux/io.h>
|
||||
#include <asm/mach-pic32/pic32.h>
|
||||
#include <linux/platform_data/pic32.h>
|
||||
#include <asm/fw/fw.h>
|
||||
#include <asm/setup.h>
|
||||
|
||||
|
||||
Reference in new issue
Block a user