Przeglądaj źródła

mmc: Fix implicit use of stat.h header in associated files

Once the implicit use of module.h is prevented, these files will
fail to find the stat.h header content.

Fix up the implicit usage expectations in advance of the cleanup.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Paul Gortmaker 14 lat temu
rodzic
commit
0205a904df
3 zmienionych plików z 3 dodań i 0 usunięć
  1. 1 0
      drivers/mmc/core/bus.c
  2. 1 0
      drivers/mmc/core/mmc.c
  3. 1 0
      drivers/mmc/core/sd.c

+ 1 - 0
drivers/mmc/core/bus.c

@@ -15,6 +15,7 @@
 #include <linux/device.h>
 #include <linux/err.h>
 #include <linux/slab.h>
+#include <linux/stat.h>
 #include <linux/pm_runtime.h>
 
 #include <linux/mmc/card.h>

+ 1 - 0
drivers/mmc/core/mmc.c

@@ -12,6 +12,7 @@
 
 #include <linux/err.h>
 #include <linux/slab.h>
+#include <linux/stat.h>
 
 #include <linux/mmc/host.h>
 #include <linux/mmc/card.h>

+ 1 - 0
drivers/mmc/core/sd.c

@@ -12,6 +12,7 @@
 
 #include <linux/err.h>
 #include <linux/slab.h>
+#include <linux/stat.h>
 
 #include <linux/mmc/host.h>
 #include <linux/mmc/card.h>