Commit 32856f32 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] OSS: remove #ifdef's for kernel 2.0

From: Adrian Bunk <bunk@fs.tum.de>

The patch below removes two #ifdef's for kernel 2.0 from OSS.
parent e9dc2e51
......@@ -25,9 +25,6 @@
********************************************************************/
#include <linux/version.h>
#if LINUX_VERSION_CODE < 0x020101
# define LINUX20
#endif
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
......@@ -35,18 +32,10 @@
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/mm.h>
#ifdef LINUX20
# include <linux/major.h>
# include <linux/fs.h>
# include <linux/sound.h>
# include <asm/segment.h>
# include "sound_config.h"
#else
# include <linux/init.h>
# include <asm/io.h>
# include <asm/uaccess.h>
# include <linux/spinlock.h>
#endif
#include <linux/init.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <linux/spinlock.h>
#include <asm/irq.h>
#include "msnd.h"
......
......@@ -7,10 +7,6 @@
#include <linux/module.h>
#include <linux/version.h>
#if LINUX_VERSION_CODE > 131328
#define LINUX21X
#endif
#ifdef __KERNEL__
#include <linux/utsname.h>
#include <linux/string.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment