From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758533AbaGAUB4 (ORCPT ); Tue, 1 Jul 2014 16:01:56 -0400 Received: from mail-wg0-f50.google.com ([74.125.82.50]:65266 "EHLO mail-wg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754745AbaGAUBz (ORCPT ); Tue, 1 Jul 2014 16:01:55 -0400 Date: Tue, 1 Jul 2014 23:01:50 +0300 From: Alexey Dobriyan To: akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH] headers: remove fs.h from poll.h Message-ID: <20140701200150.GA31103@p183.telecom.by> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fs.h is new sched.h! Start removing unnecessary fs.h inclusions. In the end of the whole series ~2000 useless fs.h inclusions are gone (just need more comple testing). Signed-off-by: Alexey Dobriyan --- drivers/gpu/vga/vgaarb.c | 1 + drivers/input/serio/serio_raw.c | 1 + drivers/misc/mic/host/mic_fops.c | 1 + drivers/platform/goldfish/goldfish_pipe.c | 1 + drivers/pps/pps.c | 1 + drivers/rtc/interface.c | 1 + drivers/rtc/rtc-dev.c | 1 + drivers/rtc/rtc-pcf8563.c | 1 + drivers/staging/comedi/drivers/serial2002.c | 1 + drivers/vfio/pci/vfio_pci_intrs.c | 1 + include/linux/poll.h | 3 ++- include/sound/pcm.h | 1 + sound/core/control.c | 1 + sound/core/hwdep.c | 1 + sound/core/init.c | 1 + sound/core/oss/mixer_oss.c | 1 + sound/core/rawmidi.c | 1 + sound/core/seq/oss/seq_oss.c | 1 + sound/core/seq/oss/seq_oss_init.c | 1 + sound/core/seq/seq_clientmgr.c | 1 + sound/core/sound.c | 1 + sound/core/timer.c | 1 + sound/isa/wavefront/wavefront_fx.c | 1 + sound/isa/wavefront/wavefront_synth.c | 1 + 24 files changed, 25 insertions(+), 1 deletion(-) --- a/drivers/gpu/vga/vgaarb.c +++ b/drivers/gpu/vga/vgaarb.c @@ -29,6 +29,7 @@ * */ +#include #include #include #include --- a/drivers/input/serio/serio_raw.c +++ b/drivers/input/serio/serio_raw.c @@ -9,6 +9,7 @@ * the Free Software Foundation. */ +#include #include #include #include --- a/drivers/misc/mic/host/mic_fops.c +++ b/drivers/misc/mic/host/mic_fops.c @@ -18,6 +18,7 @@ * Intel MIC Host driver. * */ +#include #include #include --- a/drivers/platform/goldfish/goldfish_pipe.c +++ b/drivers/platform/goldfish/goldfish_pipe.c @@ -45,6 +45,7 @@ * exchange is properly mapped during a transfer. */ +#include #include #include #include --- a/drivers/pps/pps.c +++ b/drivers/pps/pps.c @@ -21,6 +21,7 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt +#include #include #include #include --- a/drivers/rtc/interface.c +++ b/drivers/rtc/interface.c @@ -11,6 +11,7 @@ * published by the Free Software Foundation. */ +#include #include #include #include --- a/drivers/rtc/rtc-dev.c +++ b/drivers/rtc/rtc-dev.c @@ -13,6 +13,7 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt +#include #include #include #include --- a/drivers/rtc/rtc-pcf8563.c +++ b/drivers/rtc/rtc-pcf8563.c @@ -14,6 +14,7 @@ * published by the Free Software Foundation. */ +#include #include #include #include --- a/drivers/staging/comedi/drivers/serial2002.c +++ b/drivers/staging/comedi/drivers/serial2002.c @@ -26,6 +26,7 @@ Status: in development */ +#include #include #include "../comedidev.h" --- a/drivers/vfio/pci/vfio_pci_intrs.c +++ b/drivers/vfio/pci/vfio_pci_intrs.c @@ -14,6 +14,7 @@ */ #include +#include #include #include #include --- a/include/linux/poll.h +++ b/include/linux/poll.h @@ -6,11 +6,12 @@ #include #include #include -#include #include #include #include +struct file; + extern struct ctl_table epoll_table[]; /* for sysctl */ /* ~832 bytes of stack space used max in sys_select/sys_poll before allocating additional memory. */ --- a/include/sound/pcm.h +++ b/include/sound/pcm.h @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include --- a/sound/core/control.c +++ b/sound/core/control.c @@ -19,6 +19,7 @@ * */ +#include #include #include #include --- a/sound/core/hwdep.c +++ b/sound/core/hwdep.c @@ -19,6 +19,7 @@ * */ +#include #include #include #include --- a/sound/core/init.c +++ b/sound/core/init.c @@ -19,6 +19,7 @@ * */ +#include #include #include #include --- a/sound/core/oss/mixer_oss.c +++ b/sound/core/oss/mixer_oss.c @@ -19,6 +19,7 @@ * */ +#include #include #include #include --- a/sound/core/rawmidi.c +++ b/sound/core/rawmidi.c @@ -20,6 +20,7 @@ */ #include +#include #include #include #include --- a/sound/core/seq/oss/seq_oss.c +++ b/sound/core/seq/oss/seq_oss.c @@ -20,6 +20,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include #include #include #include --- a/sound/core/seq/oss/seq_oss_init.c +++ b/sound/core/seq/oss/seq_oss_init.c @@ -27,6 +27,7 @@ #include "seq_oss_readq.h" #include "seq_oss_timer.h" #include "seq_oss_event.h" +#include #include #include #include --- a/sound/core/seq/seq_clientmgr.c +++ b/sound/core/seq/seq_clientmgr.c @@ -21,6 +21,7 @@ * */ +#include #include #include #include --- a/sound/core/sound.c +++ b/sound/core/sound.c @@ -19,6 +19,7 @@ * */ +#include #include #include #include --- a/sound/core/timer.c +++ b/sound/core/timer.c @@ -20,6 +20,7 @@ */ #include +#include #include #include #include --- a/sound/isa/wavefront/wavefront_fx.c +++ b/sound/isa/wavefront/wavefront_fx.c @@ -17,6 +17,7 @@ */ #include +#include #include #include #include --- a/sound/isa/wavefront/wavefront_synth.c +++ b/sound/isa/wavefront/wavefront_synth.c @@ -21,6 +21,7 @@ */ #include +#include #include #include #include