summaryrefslogtreecommitdiff
path: root/arch/parisc/include/asm/cacheflush.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-11-26 09:57:32 -0700
committerJens Axboe <axboe@kernel.dk>2021-11-26 09:57:32 -0700
commitd422f40163087408b56290156ba233fc5ada53e4 (patch)
treef93b94f3c73bbb46a5bd56416402dc355d05d724 /arch/parisc/include/asm/cacheflush.h
parent98b26a0e766724957b48301e3a6f7093a142d54b (diff)
downloadlwn-d422f40163087408b56290156ba233fc5ada53e4.tar.gz
lwn-d422f40163087408b56290156ba233fc5ada53e4.zip
zram: only make zram_wb_devops for CONFIG_ZRAM_WRITEBACK
If writeback isn't configured, then we get the following warning when compiling zram: drivers/block/zram/zram_drv.c:1824:45: warning: unused variable 'zram_wb_devops' [-Wunused-const-variable] Make sure we only define the block_device_operations if that option is enabled. Link: https://lore.kernel.org/lkml/202111261614.gCJMqcyh-lkp@intel.com/ Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/parisc/include/asm/cacheflush.h')
0 files changed, 0 insertions, 0 deletions