diff options
author | Michael Hunold <devnull@localhost> | 2003-11-20 09:51:55 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-11-20 09:51:55 +0000 |
commit | 73ee18fbc6b15911cd9c4f47bc90d2212e2d09dd (patch) | |
tree | f8787ab301c0bd461fd0d3ad13e33014c1d2704f /linux/include/media/saa7146.h | |
parent | 2c9f709f1c406c7833b3349cfd694fc4e09038f4 (diff) | |
download | mediapointer-dvb-s2-73ee18fbc6b15911cd9c4f47bc90d2212e2d09dd.tar.gz mediapointer-dvb-s2-73ee18fbc6b15911cd9c4f47bc90d2212e2d09dd.tar.bz2 |
- make saa7146_pgtable_build_single() deliver a return code, make some
sanity checks of the arguments (if a bad pagetable is created,
unpredictable thinks can happen. trust me... ;-)
- follow this change for the several uses
Diffstat (limited to 'linux/include/media/saa7146.h')
-rw-r--r-- | linux/include/media/saa7146.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/include/media/saa7146.h b/linux/include/media/saa7146.h index 0404116f9..24e392cc3 100644 --- a/linux/include/media/saa7146.h +++ b/linux/include/media/saa7146.h @@ -162,7 +162,7 @@ int saa7146_unregister_extension(struct saa7146_extension*); struct saa7146_format* format_by_fourcc(struct saa7146_dev *dev, int fourcc); int saa7146_pgtable_alloc(struct pci_dev *pci, struct saa7146_pgtable *pt); void saa7146_pgtable_free(struct pci_dev *pci, struct saa7146_pgtable *pt); -void saa7146_pgtable_build_single(struct pci_dev *pci, struct saa7146_pgtable *pt, struct scatterlist *list, int length ); +int saa7146_pgtable_build_single(struct pci_dev *pci, struct saa7146_pgtable *pt, struct scatterlist *list, int length ); char *saa7146_vmalloc_build_pgtable(struct pci_dev *pci, long length, struct saa7146_pgtable *pt); void saa7146_setgpio(struct saa7146_dev *dev, int port, u32 data); |