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:
Brian Masney 2026-01-12 17:48:00 -05:00 committed by Thomas Bogendoerfer
parent d1c7ad0441
commit 77485091b6
4 changed files with 4 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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>