Преглед на файлове

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 години
родител
ревизия
0205a904df
променени са 3 файла, в които са добавени 3 реда и са изтрити 0 реда
  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>