From: Andrew Morton There's a typo there. I jsut removed all the ugly ifdefs - we don't need them on function prototypes. Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton --- include/asm-powerpc/mediabay.h | 5 ----- 1 file changed, 5 deletions(-) diff -puN include/asm-powerpc/mediabay.h~fix-ide-mm-ppc-fix-ifdefs-in-mediabay-driver include/asm-powerpc/mediabay.h --- a/include/asm-powerpc/mediabay.h~fix-ide-mm-ppc-fix-ifdefs-in-mediabay-driver +++ a/include/asm-powerpc/mediabay.h @@ -17,20 +17,15 @@ #define MB_POWER 6 /* media bay contains a Power device (???) */ #define MB_NO 7 /* media bay contains nothing */ -#idef CONFIG_MAC_FLOPPY int check_media_bay(struct device_node *which_bay, int what); -#endif - /* Number of bays in the machine or 0 */ extern int media_bay_count; -#ifdef CONFIG_BLK_DEV_IDE_PMAC int check_media_bay_by_base(unsigned long base, int what); /* called by IDE PMAC host driver to register IDE controller for media bay */ int media_bay_set_ide_infos(struct device_node *which_bay, unsigned long base, int irq, int index); -#endif #endif /* __KERNEL__ */ #endif /* _PPC_MEDIABAY_H */ _