snd_pci_compat_release_region fix for 2.2
here is another fix for 2.2 kernels:
martin
pci_compat_22.c.FIX renamed from pci_compat_22.c.ORIGINAL +1 -1
@@ -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)
Signature · 8 lines
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/
pci_compat_22.c.FIX line 374
Quoted 11 lines · Martin Langer
here is another fix for 2.2 kernels:
pci_compat_22.c.FIX renamed from pci_compat_22.c.ORIGINAL +1
-1@@ -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 renamed from compat_22.h.ORIGINAL +1 -1
@@ -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);
Signature · 8 lines
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/
At Sun, 23 Nov 2003 20:50:45 +0100,
Quoted 11 lines · Martin Langer
Quoted 9 lines · Martin Langer
here is another fix for 2.2 kernels:
pci_compat_22.c.FIX renamed from pci_compat_22.c.ORIGINAL +0
-0@@ -371,7 +371,7 @@ return -EBUSY; }
Quoted 4 lines
pci_compat_22.c.FIX line 374
Quoted 2 lines
pci_compat_22.c.FIX renamed from pci_compat_22.c.ORIGINAL +1
-1-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/