diff options
| author | Christoph Hellwig <[email protected]> | 2020-05-28 13:41:23 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-05-28 14:47:13 +0000 |
| commit | dc35ada4251f183137ee3a524543c9329d7a4fa2 (patch) | |
| tree | 4a62c8601ade41178670dac63074757199dc40ce /drivers/fpga/zynq-fpga.c | |
| parent | block: blk-crypto-fallback: remove redundant initialization of variable err (diff) | |
| download | kernel-dc35ada4251f183137ee3a524543c9329d7a4fa2.tar.gz kernel-dc35ada4251f183137ee3a524543c9329d7a4fa2.zip | |
block: fix a warning when blkdev.h is included for !CONFIG_BLOCK builds
disk_start_io_acct and disk_end_io_acct need at least a struct gendisk
forward declaration, but for weird historic reasons much of blkdev.h
is stubbed out for CONFIG_BLOCK=n. Fix this by stubbing more out for
now, but eventually this header will need a massive cleanup.
Fixes: 956d510ee78 ("block: add disk/bio-based accounting helpers")
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions
