* [PATCH] sound: pci: es1968: use pci_device_id
@ 2014-08-12 12:15 Sudip Mukherjee
2014-08-12 12:26 ` Takashi Iwai
0 siblings, 1 reply; 4+ messages in thread
From: Sudip Mukherjee @ 2014-08-12 12:15 UTC (permalink / raw)
To: perex, tiwai; +Cc: Sudip Mukherjee, alsa-devel, linux-kernel
Uses the struct pci_device_id instead of the depreciated macro DEFINE_PCI_DEVICE_TABLE.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---
sound/pci/es1968.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c
index 5bb1cf6..a9956a7 100644
--- a/sound/pci/es1968.c
+++ b/sound/pci/es1968.c
@@ -570,7 +570,7 @@ struct es1968 {
static irqreturn_t snd_es1968_interrupt(int irq, void *dev_id);
-static DEFINE_PCI_DEVICE_TABLE(snd_es1968_ids) = {
+static const struct pci_device_id snd_es1968_ids[] = {
/* Maestro 1 */
{ 0x1285, 0x0100, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_MULTIMEDIA_AUDIO << 8, 0xffff00, TYPE_MAESTRO },
/* Maestro 2 */
--
1.8.1.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] sound: pci: es1968: use pci_device_id
2014-08-12 12:15 [PATCH] sound: pci: es1968: use pci_device_id Sudip Mukherjee
@ 2014-08-12 12:26 ` Takashi Iwai
2014-08-12 12:41 ` Sudip Mukherjee
0 siblings, 1 reply; 4+ messages in thread
From: Takashi Iwai @ 2014-08-12 12:26 UTC (permalink / raw)
To: Sudip Mukherjee; +Cc: perex, alsa-devel, linux-kernel
At Tue, 12 Aug 2014 17:45:40 +0530,
Sudip Mukherjee wrote:
>
> Uses the struct pci_device_id instead of the depreciated macro DEFINE_PCI_DEVICE_TABLE.
If we do this, better to apply to all sound/pci/* at once after
3.17-rc1 is released.
thanks,
Takashi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] sound: pci: es1968: use pci_device_id
2014-08-12 12:26 ` Takashi Iwai
@ 2014-08-12 12:41 ` Sudip Mukherjee
2014-08-12 12:47 ` Takashi Iwai
0 siblings, 1 reply; 4+ messages in thread
From: Sudip Mukherjee @ 2014-08-12 12:41 UTC (permalink / raw)
To: Takashi Iwai; +Cc: perex, alsa-devel, linux-kernel
On Tue, Aug 12, 2014 at 5:56 PM, Takashi Iwai <tiwai@suse.de> wrote:
> At Tue, 12 Aug 2014 17:45:40 +0530,
> Sudip Mukherjee wrote:
>>
>> Uses the struct pci_device_id instead of the depreciated macro DEFINE_PCI_DEVICE_TABLE.
>
> If we do this, better to apply to all sound/pci/* at once after
> 3.17-rc1 is released.
>
>
> thanks,
>
> Takashi
If we apply to all sound.pci/* , then it will be 69 replacements in
one go. If you all want that way , then will do it after 3.17-rc1 is
releases .
Thanks
Sudip
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] sound: pci: es1968: use pci_device_id
2014-08-12 12:41 ` Sudip Mukherjee
@ 2014-08-12 12:47 ` Takashi Iwai
0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2014-08-12 12:47 UTC (permalink / raw)
To: Sudip Mukherjee; +Cc: perex, alsa-devel, linux-kernel
At Tue, 12 Aug 2014 18:11:19 +0530,
Sudip Mukherjee wrote:
>
> On Tue, Aug 12, 2014 at 5:56 PM, Takashi Iwai <tiwai@suse.de> wrote:
> > At Tue, 12 Aug 2014 17:45:40 +0530,
> > Sudip Mukherjee wrote:
> >>
> >> Uses the struct pci_device_id instead of the depreciated macro DEFINE_PCI_DEVICE_TABLE.
> >
> > If we do this, better to apply to all sound/pci/* at once after
> > 3.17-rc1 is released.
> >
> >
> > thanks,
> >
> > Takashi
>
> If we apply to all sound.pci/* , then it will be 69 replacements in
> one go. If you all want that way , then will do it after 3.17-rc1 is
> releases .
Yes, that's what I suggested :)
It's a pretty dumb systematic replacement, so can be done via
scripting.
thanks,
Takashi
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-12 12:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-12 12:15 [PATCH] sound: pci: es1968: use pci_device_id Sudip Mukherjee
2014-08-12 12:26 ` Takashi Iwai
2014-08-12 12:41 ` Sudip Mukherjee
2014-08-12 12:47 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®