diff options
Diffstat (limited to 'include/linux/i2o.h')
-rw-r--r-- | include/linux/i2o.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/i2o.h b/include/linux/i2o.h index 84db8f6ae7e5..92300325dbcd 100644 --- a/include/linux/i2o.h +++ b/include/linux/i2o.h | |||
@@ -490,7 +490,7 @@ static inline int i2o_dma_map_sg(struct i2o_controller *c, | |||
490 | * Returns 0 on success or -ENOMEM on failure. | 490 | * Returns 0 on success or -ENOMEM on failure. |
491 | */ | 491 | */ |
492 | static inline int i2o_dma_alloc(struct device *dev, struct i2o_dma *addr, | 492 | static inline int i2o_dma_alloc(struct device *dev, struct i2o_dma *addr, |
493 | size_t len, unsigned int gfp_mask) | 493 | size_t len, gfp_t gfp_mask) |
494 | { | 494 | { |
495 | struct pci_dev *pdev = to_pci_dev(dev); | 495 | struct pci_dev *pdev = to_pci_dev(dev); |
496 | int dma_64 = 0; | 496 | int dma_64 = 0; |
@@ -549,7 +549,7 @@ static inline void i2o_dma_free(struct device *dev, struct i2o_dma *addr) | |||
549 | * Returns the 0 on success or negative error code on failure. | 549 | * Returns the 0 on success or negative error code on failure. |
550 | */ | 550 | */ |
551 | static inline int i2o_dma_realloc(struct device *dev, struct i2o_dma *addr, | 551 | static inline int i2o_dma_realloc(struct device *dev, struct i2o_dma *addr, |
552 | size_t len, unsigned int gfp_mask) | 552 | size_t len, gfp_t gfp_mask) |
553 | { | 553 | { |
554 | i2o_dma_free(dev, addr); | 554 | i2o_dma_free(dev, addr); |
555 | 555 | ||