summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/as102/as10x_cmd.c
diff options
context:
space:
mode:
authorPiotr Chmura <chmooreck@poczta.onet.pl>2011-10-31 12:24:50 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-03 07:43:55 -0200
commitf080c2ef542b0d3c78eb2f98a4450a8e22b471af (patch)
tree30b5f2975cc6da9ea2dc7725c58dd7d4ed229134 /drivers/staging/media/as102/as10x_cmd.c
parent315cadc446714c5c1a406afff6f53aa80d1e267e (diff)
downloadlinux-f080c2ef542b0d3c78eb2f98a4450a8e22b471af.tar.gz
linux-f080c2ef542b0d3c78eb2f98a4450a8e22b471af.tar.xz
linux-f080c2ef542b0d3c78eb2f98a4450a8e22b471af.zip
[media] staging: as102: Remove non-linux headers inclusion
Remove inclusion of Windows and other not linux related headers. [snjw23@gmail.com: edited changelog, folded long line in Makefile] Cc: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Piotr Chmura <chmooreck@poczta.onet.pl> Signed-off-by: Sylwester Nawrocki <snjw23@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/media/as102/as10x_cmd.c')
-rw-r--r--drivers/staging/media/as102/as10x_cmd.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/staging/media/as102/as10x_cmd.c b/drivers/staging/media/as102/as10x_cmd.c
index 222e7032ded2..77aae3964fa2 100644
--- a/drivers/staging/media/as102/as10x_cmd.c
+++ b/drivers/staging/media/as102/as10x_cmd.c
@@ -18,30 +18,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#if defined(LINUX) && defined(__KERNEL__) /* linux kernel implementation */
#include <linux/kernel.h>
#include "as102_drv.h"
-#elif defined(WIN32)
- #if defined(__BUILDMACHINE__) && (__BUILDMACHINE__ == WinDDK)
- /* win32 ddk implementation */
- #include "wdm.h"
- #include "Device.h"
- #include "endian_mgmt.h" /* FIXME */
- #else /* win32 sdk implementation */
- #include <windows.h>
- #include "types.h"
- #include "util.h"
- #include "as10x_handle.h"
- #include "endian_mgmt.h"
- #endif
-#else /* all other cases */
- #include <string.h>
- #include "types.h"
- #include "util.h"
- #include "as10x_handle.h"
- #include "endian_mgmt.h" /* FIXME */
-#endif /* __KERNEL__ */
-
#include "as10x_types.h"
#include "as10x_cmd.h"