[ALSA] Clean up includes in asound.h & asequencer.h
Modules: ALSA sequencer,ALSA Core
Clean up includes in asound.h and asequencer.h.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
diff --git a/include/sound/asequencer.h b/include/sound/asequencer.h
index 728efd5..562637b 100644
--- a/include/sound/asequencer.h
+++ b/include/sound/asequencer.h
@@ -22,11 +22,10 @@
#ifndef __SOUND_ASEQUENCER_H
#define __SOUND_ASEQUENCER_H
-#ifndef __KERNEL__
+#ifdef __KERNEL__
#include <linux/ioctl.h>
-#endif
-
#include <sound/asound.h>
+#endif
/** version of the sequencer */
#define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION (1, 0, 1)