Staging: cxt1e1: remove unnecessary includes
authorAlexander Beregalov <a.beregalov@gmail.com>
Sun, 20 Nov 2011 18:05:16 +0000 (22:05 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 02:11:35 +0000 (18:11 -0800)
Remove *BSD, SunOS and userspace includes.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/cxt1e1/comet.h
drivers/staging/cxt1e1/libsbew.h
drivers/staging/cxt1e1/musycc.h
drivers/staging/cxt1e1/pmc93x6_eeprom.h
drivers/staging/cxt1e1/pmcc4.h
drivers/staging/cxt1e1/pmcc4_cpld.h
drivers/staging/cxt1e1/pmcc4_drv.c
drivers/staging/cxt1e1/sbew_ioc.h

index 5cb3afda0112c8342906f72d2ce19ec66f4f55b2..16144437f27bb771e0193a379b6191109bd420f5 100644 (file)
  *-----------------------------------------------------------------------------
  */
 
-#if defined(__FreeBSD__) || defined (__NetBSD__)
-#include <sys/types.h>
-#else
 #include <linux/types.h>
-#endif
-
 
 #define VINT32  volatile u_int32_t
 
index 5c99646cd1033980b9c9d28c7a710c720603998a..c5a1be989a6db728dfef9be671f977536e7d7590 100644 (file)
  *-----------------------------------------------------------------------------
  */
 
-#ifndef __KERNEL__
-#include <sys/types.h>
-#endif
-
 #ifdef __cplusplus
 extern      "C"
 {
index 68f3660f44774b5071bf07969405360d157c0664..9e4d1688bee86cff455da31373b5a3b0abb5f56e 100644 (file)
  *-----------------------------------------------------------------------------
  */
 
-#if defined (__FreeBSD__) || defined (__NetBSD__)
-#include <sys/types.h>
-#else
 #include <linux/types.h>
-#endif
 
 #define VINT8   volatile u_int8_t
 #define VINT32  volatile u_int32_t
index c3ada87efd2654547bbbc9f21c2707c25a0ca126..6ede389f7ea8911646fc3e1178a2a4d6b75f7f2c 100644 (file)
  *-----------------------------------------------------------------------------
  */
 
-#if defined (__FreeBSD__) || defined (__NetBSD__)
-#include <sys/types.h>
-#else
 #include <linux/types.h>
-#endif
 
 #ifdef __KERNEL__
 
index e046b87763a2e359bb625824b78d51f31b2a5823..54158cc75c32ad85709be7a41ce4c623dbdfd3ef 100644 (file)
  *-----------------------------------------------------------------------------
  */
 
-
-#if defined(__FreeBSD__) || defined(__NetBSD__)
-#include <sys/types.h>
-#else
-#ifndef __KERNEL__
-#include <sys/types.h>
-#else
 #include <linux/types.h>
-#endif
-#endif
-
-
 
 typedef int status_t;
 
index 6d8f0337aa3efd826773f74e4701ee8710dbd610..e008b9ee0a3bfbcfb98d8352bb19cdf39ffef79f 100644 (file)
  *-----------------------------------------------------------------------------
  */
 
-
-#if defined(__FreeBSD__) || defined(__NetBSD__)
-#include <sys/types.h>
-#else
-#ifndef __KERNEL__
-#include <sys/types.h>
-#else
 #include <linux/types.h>
-#endif
-#endif
 
 #ifdef __cplusplus
 extern      "C"
index e1f07fabd22d35fba486455c9587c130e82e52da..3a9eab5f08de745e4f377a875823c5676b206974 100644 (file)
@@ -85,11 +85,6 @@ char        OSSIid_pmcc4_drvc[] =
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
-#if defined (__FreeBSD__) || defined (__NetBSD__)
-#include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/errno.h>
-#else
 #include <linux/types.h>
 #include "pmcc4_sysdep.h"
 #include <linux/errno.h>
@@ -98,7 +93,6 @@ char        OSSIid_pmcc4_drvc[] =
 #include <linux/timer.h>        /* include for timer */
 #include <linux/hdlc.h>
 #include <asm/io.h>
-#endif
 
 #include "sbecom_inline_linux.h"
 #include "libsbew.h"
index 14d371904d1fc24e7580945a1ecd9f0ce12b222c..b66d6f256867db4b8214ce8d6449ee7c8da9c190 100644 (file)
  *-----------------------------------------------------------------------------
  */
 
-#ifndef __KERNEL__
-#include <sys/types.h>
-#endif
-#ifdef SunOS
-#include <sys/ioccom.h>
-#else
 #include <linux/ioctl.h>
-#endif
 
 #ifdef __cplusplus
 extern      "C"