From: Bart Van Assche Date: Mon, 14 Nov 2016 23:53:05 +0000 (-0800) Subject: configfs: Minimize #include directives X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a6ab53742a52786ca594438eff2c80c3a242aaf3;p=linux-beck.git configfs: Minimize #include directives Only include the header files that are needed by configfs.h itself. Add #include . Signed-off-by: Bart Van Assche Cc: Christoph Hellwig --- diff --git a/include/linux/configfs.h b/include/linux/configfs.h index d9d6a9d77489..9fc9843c0300 100644 --- a/include/linux/configfs.h +++ b/include/linux/configfs.h @@ -35,14 +35,11 @@ #ifndef _CONFIGFS_H_ #define _CONFIGFS_H_ -#include -#include -#include -#include -#include -#include - -#include +#include /* S_IRUGO */ +#include /* ssize_t */ +#include /* struct list_head */ +#include /* struct kref */ +#include /* struct mutex */ #define CONFIGFS_ITEM_NAME_LEN 20