]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mmc: tmio/sdhi: Fix includes
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 13 Feb 2024 22:02:22 +0000 (23:02 +0100)
committerLee Jones <lee@kernel.org>
Tue, 9 Jul 2024 09:40:15 +0000 (10:40 +0100)
TMIO uses an of_* function, and SDHI uses pm_runtime functions. Add the
includes directly, so we can clean up another header properly. Sort the
pagemap include while we are here.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202402070323.JpYfFtkQ-lkp@intel.com/
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20240213220221.2380-11-wsa+renesas@sang-engineering.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mmc/host/renesas_sdhi_internal_dmac.c
drivers/mmc/host/renesas_sdhi_sys_dmac.c
drivers/mmc/host/tmio_mmc_core.c

index 422fa63a2e99abd3e81e3b69320be62baa0a37ca..e8c3fb0fb5c2be2a71b524360609d9681dc84c0c 100644 (file)
@@ -16,8 +16,9 @@
 #include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/platform_device.h>
 #include <linux/pagemap.h>
+#include <linux/platform_device.h>
+#include <linux/pm_runtime.h>
 #include <linux/scatterlist.h>
 #include <linux/sys_soc.h>
 
index 9cf7f9feab72f12b14382017e982b419bac93b05..c18581897f8a6dd0ba5573888326f9b31670ea1b 100644 (file)
@@ -16,8 +16,9 @@
 #include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/platform_device.h>
 #include <linux/pagemap.h>
+#include <linux/platform_device.h>
+#include <linux/pm_runtime.h>
 #include <linux/scatterlist.h>
 #include <linux/sys_soc.h>
 
index 93e912afd3ae5aa0bfe46010f93a1c77b1858836..73b0bd692fe03a0157df06f44a52d5066cf2cd0c 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/mmc/mmc.h>
 #include <linux/mmc/slot-gpio.h>
 #include <linux/module.h>
+#include <linux/of.h>
 #include <linux/pagemap.h>
 #include <linux/platform_device.h>
 #include <linux/pm_qos.h>