Skip to content

Commit 4377aef

Browse files
Wolfram Sanglag-linaro
authored andcommitted
mmc: tmio/sdhi: Fix includes
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>
1 parent 6bec678 commit 4377aef

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

drivers/mmc/host/renesas_sdhi_internal_dmac.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
#include <linux/mod_devicetable.h>
1717
#include <linux/module.h>
1818
#include <linux/of.h>
19-
#include <linux/platform_device.h>
2019
#include <linux/pagemap.h>
20+
#include <linux/platform_device.h>
21+
#include <linux/pm_runtime.h>
2122
#include <linux/scatterlist.h>
2223
#include <linux/sys_soc.h>
2324

drivers/mmc/host/renesas_sdhi_sys_dmac.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
#include <linux/mod_devicetable.h>
1717
#include <linux/module.h>
1818
#include <linux/of.h>
19-
#include <linux/platform_device.h>
2019
#include <linux/pagemap.h>
20+
#include <linux/platform_device.h>
21+
#include <linux/pm_runtime.h>
2122
#include <linux/scatterlist.h>
2223
#include <linux/sys_soc.h>
2324

drivers/mmc/host/tmio_mmc_core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
#include <linux/mmc/mmc.h>
3838
#include <linux/mmc/slot-gpio.h>
3939
#include <linux/module.h>
40+
#include <linux/of.h>
4041
#include <linux/pagemap.h>
4142
#include <linux/platform_device.h>
4243
#include <linux/pm_qos.h>

0 commit comments

Comments
 (0)