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

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Fri Jan 27 01:55:39 UTC 2006


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 <crimsun at fungus.sh.nu>

---

 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            crimsun at ubuntu.com
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20060126/99630a89/attachment.sig>


More information about the kernel-team mailing list