Răsfoiți Sursa

ALSA: opti-miro: make miro.h header available outside the alsa directory

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>
Krzysztof Helt 15 ani în urmă
părinte
comite
9aeba62971
2 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 3 3
      include/sound/aci.h
  2. 1 1
      sound/isa/opti9xx/miro.c

+ 3 - 3
sound/isa/opti9xx/miro.h → include/sound/aci.h

@@ -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_ */

+ 1 - 1
sound/isa/opti9xx/miro.c

@@ -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");