X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-alpha%2Fpci.h;h=bbefe1238d636f9f1774710cd8cbe1d8fb255814;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=5cd3779b0e0d482046a0c1e30d5e6aab7d5b9c1a;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/asm-alpha/pci.h b/include/asm-alpha/pci.h index 5cd3779b0..bbefe1238 100644 --- a/include/asm-alpha/pci.h +++ b/include/asm-alpha/pci.h @@ -169,7 +169,7 @@ pci_dma_sync_single_for_cpu(struct pci_dev *dev, dma_addr_t dma_addr, static inline void pci_dma_sync_single_for_device(struct pci_dev *dev, dma_addr_t dma_addr, - long size, int direction) + size_t size, int direction) { /* Nothing to do. */ } @@ -246,6 +246,8 @@ pcibios_add_platform_entries(struct pci_dev *dev) { } +struct pci_dev *alpha_gendev_to_pci(struct device *dev); + #endif /* __KERNEL__ */ /* Values for the `which' argument to sys_pciconfig_iobase. */