* snd_pci_compat_release_region fix for 2.2
@ 2003-11-23 14:45 Martin Langer
2003-11-23 19:50 ` Martin Langer
0 siblings, 1 reply; 3+ messages in thread
From: Martin Langer @ 2003-11-23 14:45 UTC (permalink / raw)
To: alsa-devel
here is another fix for 2.2 kernels:
martin
--- acore/pci_compat_22.c.ORIGINAL Sun Nov 23 14:41:21 2003
+++ acore/pci_compat_22.c.FIX Sun Nov 23 15:38:37 2003
@@ -371,7 +371,7 @@
return -EBUSY;
}
-void snd_pci_compat_release_region(struct pci_dev *pci, int bar)
+void snd_pci_compat_release_region(struct pci_dev *pdev, int bar)
{
int flags;
if (pci_resource_len(pdev, bar) == 0)
--
The only nice thing about spam is that it doesn't ring.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: snd_pci_compat_release_region fix for 2.2
2003-11-23 14:45 snd_pci_compat_release_region fix for 2.2 Martin Langer
@ 2003-11-23 19:50 ` Martin Langer
2003-11-24 11:09 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: Martin Langer @ 2003-11-23 19:50 UTC (permalink / raw)
To: alsa-devel
On Sun, Nov 23, 2003 at 03:45:57PM +0100, Martin Langer wrote:
>
> here is another fix for 2.2 kernels:
>
> --- acore/pci_compat_22.c.ORIGINAL Sun Nov 23 14:41:21 2003
> +++ acore/pci_compat_22.c.FIX Sun Nov 23 15:38:37 2003
> @@ -371,7 +371,7 @@
> return -EBUSY;
> }
>
> -void snd_pci_compat_release_region(struct pci_dev *pci, int bar)
> +void snd_pci_compat_release_region(struct pci_dev *pdev, int bar)
Ohhh. I should change the header, too
martin
--- compat_22.h.ORIGINAL Sun Nov 23 20:29:58 2003
+++ compat_22.h Sun Nov 23 20:30:15 2003
@@ -290,7 +290,7 @@
void * snd_pci_compat_get_driver_data (struct pci_dev *dev);
void snd_pci_compat_set_driver_data (struct pci_dev *dev, void *driver_data);
int snd_pci_compat_request_region(struct pci_dev *pdev, int bar, char *res_name);
-void snd_pci_compat_release_region(struct pci_dev *pci, int bar);
+void snd_pci_compat_release_region(struct pci_dev *pdev, int bar);
int snd_pci_compat_request_regions(struct pci_dev *pdev, char *res_name);
void snd_pci_compat_release_regions(struct pci_dev *pdev);
--
The only nice thing about spam is that it doesn't ring.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: snd_pci_compat_release_region fix for 2.2
2003-11-23 19:50 ` Martin Langer
@ 2003-11-24 11:09 ` Takashi Iwai
0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2003-11-24 11:09 UTC (permalink / raw)
To: Martin Langer; +Cc: alsa-devel
At Sun, 23 Nov 2003 20:50:45 +0100,
Martin Langer wrote:
>
> On Sun, Nov 23, 2003 at 03:45:57PM +0100, Martin Langer wrote:
> >
> > here is another fix for 2.2 kernels:
> >
> > --- acore/pci_compat_22.c.ORIGINAL Sun Nov 23 14:41:21 2003
> > +++ acore/pci_compat_22.c.FIX Sun Nov 23 15:38:37 2003
> > @@ -371,7 +371,7 @@
> > return -EBUSY;
> > }
> >
> > -void snd_pci_compat_release_region(struct pci_dev *pci, int bar)
> > +void snd_pci_compat_release_region(struct pci_dev *pdev, int bar)
>
> Ohhh. I should change the header, too
it's not necessary, but i did :)
all your fixes were applied to cvs.
thanks,
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-11-24 11:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-23 14:45 snd_pci_compat_release_region fix for 2.2 Martin Langer
2003-11-23 19:50 ` Martin Langer
2003-11-24 11:09 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox