[PATCH] [UBUNTU:sound/pci/emu10k1] Fix copy-and-paste (function parameter) error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] [UBUNTU:sound/pci/emu10k1] Fix copy-and-paste (function parameter) error

Daniel T Chen
Subject: [PATCH] [UBUNTU:sound/pci/emu10k1] Fix copy-and-paste (function parameter) error

UpstreamStatus: Unsubmitted

Fix brown paper bag copy-and-paste snafu in include/sound/emu10k1.h and
sound/pci/emu10k1/io.c .

Signed-off-by: Daniel T Chen <[hidden email]>

---

 include/sound/emu10k1.h |    2 +-
 sound/pci/emu10k1/io.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

c93e7fcb84007c81e0422b414b79be63c078e2bd
diff --git a/include/sound/emu10k1.h b/include/sound/emu10k1.h
index f504356..d55ebb8 100644
--- a/include/sound/emu10k1.h
+++ b/include/sound/emu10k1.h
@@ -1192,7 +1192,7 @@ unsigned int snd_emu10k1_ptr_read(emu10k
 void snd_emu10k1_ptr_write(emu10k1_t *emu, unsigned int reg, unsigned int chn, unsigned int data);
 unsigned int snd_emu10k1_ptr20_read(emu10k1_t * emu, unsigned int reg, unsigned int chn);
 void snd_emu10k1_ptr20_write(emu10k1_t *emu, unsigned int reg, unsigned int chn, unsigned int data);
-int snd_emu10k1_spi_write(emu10k1 * emu, unsigned int data);
+int snd_emu10k1_spi_write(emu10k1_t *emu, unsigned int data);
 unsigned int snd_emu10k1_efx_read(emu10k1_t *emu, unsigned int pc);
 void snd_emu10k1_intr_enable(emu10k1_t *emu, unsigned int intrenb);
 void snd_emu10k1_intr_disable(emu10k1_t *emu, unsigned int intrenb);
diff --git a/sound/pci/emu10k1/io.c b/sound/pci/emu10k1/io.c
index b81662c..9d6c674 100644
--- a/sound/pci/emu10k1/io.c
+++ b/sound/pci/emu10k1/io.c
@@ -124,7 +124,7 @@ void snd_emu10k1_ptr20_write(emu10k1_t *
  spin_unlock_irqrestore(&emu->emu_lock, flags);
 }
 
-int snd_emu10k1_spi_write(emu10k1 * emu, unsigned int data)
+int snd_emu10k1_spi_write(emu10k1_t *emu, unsigned int data)
 {
  unsigned int reset, set;
  unsigned int reg, tmp;
--
1.1.3


--
Daniel T. Chen            [hidden email]
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team

attachment0 (196 bytes) Download Attachment