• Ian Abbott's avatar
    staging: comedi: shrink comedi_compat32.h · 00d20c64
    Ian Abbott authored
    "comedi_compat32.h" #include's <linux/compat.h>, but that is only needed
    by "comedi_compat32.c" so move the #include to that file.  Also,
    "comedi_compat.h" doesn't really need the '#include <linux/fs.h>' just
    to declare 'struct file' as it only uses it to construct a pointer to
    that type.  Replace that #include with an incomplete declaration of
    'struct file' and move that #include into "comedi_compat32.c".
    Signed-off-by: default avatarIan Abbott <abbotti@mev.co.uk>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    00d20c64
comedi_compat32.c 13.9 KB