]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mmc: sdhci-pic32: update include to use pic32.h from platform_data
authorBrian Masney <bmasney@redhat.com>
Mon, 12 Jan 2026 22:48:03 +0000 (17:48 -0500)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 30 Jan 2026 14:29:08 +0000 (15:29 +0100)
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>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
drivers/mmc/host/sdhci-pic32.c

index 7ddac0befed87e6e46acfa7593203a5b540558bf..2cc632e91fe454bf29c1da22e45135d5d0267f54 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/interrupt.h>
 #include <linux/irq.h>
 #include <linux/of.h>
+#include <linux/platform_data/sdhci-pic32.h>
 #include <linux/platform_device.h>
 #include <linux/pm.h>
 #include <linux/slab.h>
@@ -25,7 +26,6 @@
 #include <linux/io.h>
 #include "sdhci.h"
 #include "sdhci-pltfm.h"
-#include <linux/platform_data/sdhci-pic32.h>
 
 #define SDH_SHARED_BUS_CTRL            0x000000E0
 #define SDH_SHARED_BUS_NR_CLK_PINS_MASK        0x7