On Tue, May 12 2009, Alexander Beregalov wrote: > Fix this build error when CONFIG_BLOCK is not set: > drivers/cdrom/viocd.c: In function 'viocd_blk_open': > drivers/cdrom/viocd.c:156: error: dereferencing pointer to incomplete type > drivers/cdrom/viocd.c: In function 'viocd_blk_release': > drivers/cdrom/viocd.c:162: error: dereferencing pointer to incomplete type > drivers/cdrom/viocd.c: In function 'viocd_blk_ioctl': > drivers/cdrom/viocd.c:170: error: dereferencing pointer to incomplete type > drivers/cdrom/viocd.c: In function 'viocd_blk_media_changed': > drivers/cdrom/viocd.c:176: error: dereferencing pointer to incomplete type > ... Added to 2.6.30 pending fixes. > > Signed-off-by: Alexander Beregalov <a.beregalov@xxxxxxxxx> > --- > arch/powerpc/platforms/iseries/Kconfig | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/arch/powerpc/platforms/iseries/Kconfig b/arch/powerpc/platforms/iseries/Kconfig > index 647e877..47a20cf 100644 > --- a/arch/powerpc/platforms/iseries/Kconfig > +++ b/arch/powerpc/platforms/iseries/Kconfig > @@ -17,6 +17,7 @@ config VIODASD > > config VIOCD > tristate "iSeries Virtual I/O CD support" > + depends on BLOCK > select VIOPATH > help > If you are running Linux on an IBM iSeries system and you want to > -- > 1.6.3 > -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html