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

Paul Mackerras paulus at samba.org
Wed Sep 19 14:49:11 EST 2007


Emil Medve writes:

> The fix tries to use the smallest scope CONFIG_* symbols that will fix the build
> problem. In this case <linux/ide.h> 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_ide_md stuff from ppc_ksyms.c
altogether and just put the EXPORT_SYMBOL in setup_32.c.

Paul.



More information about the Linuxppc-dev mailing list