Re: [PATCH] [POWERPC] Fix build errors when BLOCK=n

2007-09-18 Thread Paul Mackerras
Emil Medve writes: > The fix tries to use the smallest scope CONFIG_* symbols that will fix the > build > problem. In this case needs to be included only if IDE=y or > IDE=m were selected. Also, ppc_ide_md is needed only if BLK_DEV_IDE=y or > BLK_DEV_IDE=m It would be nicer to remove the ppc_id

RE: [PATCH] [POWERPC] Fix build errors when BLOCK=n

2007-09-17 Thread Medve Emilian-EMMEDVE1
EMAIL PROTECTED] > Subject: Re: [PATCH] [POWERPC] Fix build errors when BLOCK=n > > > Try the attached. > > David > --- > [PATCH] VFS: Make BSG declarations dependent on CONFIG_BLOCK > > From: David Howells <[EMAIL PROTECTED]> > > Make BSG function dec

Re: [PATCH] [POWERPC] Fix build errors when BLOCK=n

2007-09-17 Thread David Howells
Try the attached. David --- [PATCH] VFS: Make BSG declarations dependent on CONFIG_BLOCK From: David Howells <[EMAIL PROTECTED]> Make BSG function declarations dependent on CONFIG_BLOCK as they are not compilable if the block layer is compiled out. Signed-off-by: David Howells <[EMAIL PROTECTE

[PATCH] [POWERPC] Fix build errors when BLOCK=n

2007-09-17 Thread Emil Medve
These are the symptom error messages: CC arch/powerpc/kernel/setup_32.o In file included from include/linux/blkdev.h:17, from include/linux/ide.h:13, from arch/powerpc/kernel/setup_32.c:13: include/linux/bsg.h:67: warning: 'struct request_queue' declared in