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 <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Wolfram Sang <[email protected]> Acked-by: Ulf Hansson <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 6bec678 commit 4377aef

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

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)