From: Christian Lütke-Stetzkamp Date: Sun, 29 Apr 2018 17:32:42 +0000 (+0200) Subject: staging: mt7621-mmc: Cleanup includes X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f18898631a7f829a92f82045fa018b7c4640689a;p=openwrt%2Fstaging%2Fblogic.git staging: mt7621-mmc: Cleanup includes This commit cleans the includes in the sd.c file. Those which are not needed are removed, the remaining ones are sorted alphabetically. Signed-off-by: Christian Lütke-Stetzkamp Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c index 2da079238966..d92234a96551 100644 --- a/drivers/staging/mt7621-mmc/sd.c +++ b/drivers/staging/mt7621-mmc/sd.c @@ -34,31 +34,21 @@ */ #include -#include -#include +#include +#include #include -#include -#include -#include #include -#include -#include -#include -#include + #include -#include -#include #include #include #include -#include -/* +++ by chhung */ -#include -#include -#include -#include -#include +#include + +#include "board.h" +#include "dbg.h" +#include "mt6575_sd.h" //#define IRQ_SDC 14 //MT7620 /*FIXME*/ #ifdef CONFIG_SOC_MT7621 @@ -70,31 +60,6 @@ #endif #define IRQ_SDC 22 /*FIXME*/ -#include -/* end of +++ */ - -#include - -#if 0 /* --- by chhung */ -#include -#include -#include -#include -#include -//#include -//#include -//#include -#include -// #include -#endif /* end of --- */ - -#include "mt6575_sd.h" -#include "dbg.h" - -/* +++ by chhung */ -#include "board.h" -/* end of +++ */ - #if 0 /* --- by chhung */ #define isb() __asm__ __volatile__ ("" : : : "memory") #define dsb() __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \