• Stephen Rothwell's avatar
    powerpc/iseries: viodasd needs to depend on CONFIG_BLOCK · 5d84e4be
    Stephen Rothwell authored
    Otherwise you get lot of errors like these:
    
    drivers/block/viodasd.c:72: error: dereferencing pointer to incomplete type
    drivers/block/viodasd.c: In function 'viodasd_open':
    drivers/block/viodasd.c:135: error: dereferencing pointer to incomplete type
    drivers/block/viodasd.c: In function 'viodasd_release':
    drivers/block/viodasd.c:184: error: dereferencing pointer to incomplete type
    drivers/block/viodasd.c: In function 'viodasd_getgeo':
    drivers/block/viodasd.c:209: error: dereferencing pointer to incomplete type
    drivers/block/viodasd.c:214: error: implicit declaration of function 'get_capacity'
    drivers/block/viodasd.c: At top level:
    drivers/block/viodasd.c:222: error: variable 'viodasd_fops' has initializer but incomplete type
    drivers/block/viodasd.c:223: error: unknown field 'owner' specified in initializer
    
    Discovered by a randconfig build.
    Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
    Acked-by: default avatarJens Axboe <jens.axboe@oracle.com>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    5d84e4be
Kconfig 877 Bytes