ALSA: opti-miro: make miro.h header available outside the alsa directory
Krzysztof Helt [Sun, 22 Nov 2009 16:23:45 +0000 (17:23 +0100)]
Move the miro.h header to the include/sound directory. It can
be used in the Miro PCM20 radio driver (v4l).

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

include/sound/aci.h [moved from sound/isa/opti9xx/miro.h with 97% similarity]
sound/isa/opti9xx/miro.c

similarity index 97%
rename from sound/isa/opti9xx/miro.h
rename to include/sound/aci.h
index 6e1385b..bb796d0 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _MIRO_H_
-#define _MIRO_H_
+#ifndef _ACI_H_
+#define _ACI_H_
 
 #define ACI_REG_COMMAND                0       /* write register offset */
 #define ACI_REG_STATUS         1       /* read register offset */
@@ -70,4 +70,4 @@
 #define ACI_SET_EQ6            0x45
 #define ACI_SET_EQ7            0x46    /* ... to Treble */
 
-#endif  /* _MIRO_H_ */
+#endif  /* _ACI_H_ */
index db4a4fb..932a067 100644 (file)
@@ -40,7 +40,7 @@
 #define SNDRV_LEGACY_FIND_FREE_IRQ
 #define SNDRV_LEGACY_FIND_FREE_DMA
 #include <sound/initval.h>
-#include "miro.h"
+#include <sound/aci.h>
 
 MODULE_AUTHOR("Martin Langer <martin-langer@gmx.de>");
 MODULE_LICENSE("GPL");