From: Jon Mason <jdmason@us.ibm.com>
To: linux-kernel@vger.kernel.org
Cc: Matt_Wu@acersoftech.com.cn
Subject: [PATCH] ali5451: Add PCI_DEVICE and #defines in snd_ali_ids
Date: Thu, 12 Jan 2006 16:59:44 -0600 [thread overview]
Message-ID: <20060112225943.GL17539@us.ibm.com> (raw)
This patch uses #defines for the Vendor ID and Device ID and uses the
new PCI_DEVICE macro.
No hardware to test, but compiles and should work.
Thanks,
Jon
Signed-off-by: Jon Mason <jdmason@us.ibm.com>
diff -r 4a7597b41d25 sound/pci/ali5451/ali5451.c
--- a/sound/pci/ali5451/ali5451.c Wed Jan 11 19:14:08 2006
+++ b/sound/pci/ali5451/ali5451.c Thu Jan 12 16:43:05 2006
@@ -279,7 +279,7 @@
};
static struct pci_device_id snd_ali_ids[] = {
- {0x10b9, 0x5451, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },
+ {PCI_DEVICE(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M5451), 0, 0, 0},
{0, }
};
MODULE_DEVICE_TABLE(pci, snd_ali_ids);
reply other threads:[~2006-01-12 22:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060112225943.GL17539@us.ibm.com \
--to=jdmason@us.ibm.com \
--cc=Matt_Wu@acersoftech.com.cn \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.