diff options
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 88821fa26f19..bfb64d672e19 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/backing-dev-defs.h> | 15 | #include <linux/backing-dev-defs.h> |
16 | #include <linux/wait.h> | 16 | #include <linux/wait.h> |
17 | #include <linux/mempool.h> | 17 | #include <linux/mempool.h> |
18 | #include <linux/pfn.h> | ||
18 | #include <linux/bio.h> | 19 | #include <linux/bio.h> |
19 | #include <linux/stringify.h> | 20 | #include <linux/stringify.h> |
20 | #include <linux/gfp.h> | 21 | #include <linux/gfp.h> |
@@ -1628,7 +1629,7 @@ struct blk_dax_ctl { | |||
1628 | sector_t sector; | 1629 | sector_t sector; |
1629 | void __pmem *addr; | 1630 | void __pmem *addr; |
1630 | long size; | 1631 | long size; |
1631 | unsigned long pfn; | 1632 | pfn_t pfn; |
1632 | }; | 1633 | }; |
1633 | 1634 | ||
1634 | struct block_device_operations { | 1635 | struct block_device_operations { |
@@ -1638,7 +1639,7 @@ struct block_device_operations { | |||
1638 | int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); | 1639 | int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); |
1639 | int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); | 1640 | int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); |
1640 | long (*direct_access)(struct block_device *, sector_t, void __pmem **, | 1641 | long (*direct_access)(struct block_device *, sector_t, void __pmem **, |
1641 | unsigned long *pfn); | 1642 | pfn_t *); |
1642 | unsigned int (*check_events) (struct gendisk *disk, | 1643 | unsigned int (*check_events) (struct gendisk *disk, |
1643 | unsigned int clearing); | 1644 | unsigned int clearing); |
1644 | /* ->media_changed() is DEPRECATED, use ->check_events() instead */ | 1645 | /* ->media_changed() is DEPRECATED, use ->check_events() instead */ |