diff options
Diffstat (limited to 'drivers/gpu/drm/drm_prime.c')
-rw-r--r-- | drivers/gpu/drm/drm_prime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c index 6872eca6555e..7482b06cd08f 100644 --- a/drivers/gpu/drm/drm_prime.c +++ b/drivers/gpu/drm/drm_prime.c | |||
@@ -669,7 +669,7 @@ int drm_prime_fd_to_handle_ioctl(struct drm_device *dev, void *data, | |||
669 | * the driver is responsible for mapping the pages into the | 669 | * the driver is responsible for mapping the pages into the |
670 | * importers address space for use with dma_buf itself. | 670 | * importers address space for use with dma_buf itself. |
671 | */ | 671 | */ |
672 | struct sg_table *drm_prime_pages_to_sg(struct page **pages, int nr_pages) | 672 | struct sg_table *drm_prime_pages_to_sg(struct page **pages, unsigned int nr_pages) |
673 | { | 673 | { |
674 | struct sg_table *sg = NULL; | 674 | struct sg_table *sg = NULL; |
675 | int ret; | 675 | int ret; |