linux/drivers/ide
Amos Waterland d97b321425 [PATCH] protect ide_cdrom_capacity by ifdef
The only call to ide_cdrom_capacity is in code protected by
CONFIG_PROC_FS, so when that is not enabled, the compiler complains:

 drivers/ide/ide-cd.c:3259: warning: `ide_cdrom_capacity' defined but not used

Here is a patch that fixes that.  It provides some space savings for
embedded systems that are not using procfs, as well:

     text    data     bss     dec     hex filename
 -  33540    6504    1032   41076    a074 drivers/ide/ide-cd.o
 +  33468    6480    1032   40980    a014 drivers/ide/ide-cd.o

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Cc: Jens Axboe <axboe@suse.de>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:19 -08:00
..
arm
cris
h8300
legacy [PATCH] pcmcia: update ID for NinjaATA 2005-09-26 13:11:31 +02:00
mips Cleaned up AMD Au1200 IDE driver: 2005-10-29 19:32:20 +01:00
pci Fix up more strange byte writes to the PCI_ROM_ADDRESS config word 2005-09-13 07:59:34 -07:00
ppc [PATCH] swsusp: switch pm_message_t to struct 2005-09-05 00:06:16 -07:00
ide-cd.c [PATCH] protect ide_cdrom_capacity by ifdef 2005-10-30 17:37:19 -08:00
ide-cd.h
ide-disk.c fix mismerge in ll_rw_blk.c 2005-08-28 10:43:07 -05:00
ide-dma.c
ide-floppy.c [PATCH] ide-floppy: fix IDEFLOPPY_TICKS_DELAY 2005-08-18 22:09:21 +02:00
ide-generic.c
ide-io.c [PATCH] ide: Workaround PM problem 2005-10-10 08:40:47 -07:00
ide-iops.c [PATCH] ide: clean up the garbage in eighty_ninty_three 2005-09-13 08:22:28 -07:00
ide-lib.c
ide-pnp.c
ide-probe.c [PATCH] Fix ide-disk.c oops caused by hwif == NULL 2005-08-09 20:21:31 -07:00
ide-proc.c Cleaned up AMD Au1200 IDE driver: 2005-10-29 19:32:20 +01:00
ide-tape.c [PATCH] Driver Core: fix up all callers of class_device_create() 2005-10-28 09:52:52 -07:00
ide-taskfile.c [PATCH] ide: fix null request pointer for taskfile ioctl 2005-09-17 11:50:03 -07:00
ide-timing.h [PATCH] janitor: ide: min/max macros in ide-timing.h 2005-09-10 10:06:31 -07:00
ide.c [PATCH] swsusp: switch pm_message_t to struct 2005-09-05 00:06:16 -07:00
Kconfig Cleaned up AMD Au1200 IDE driver: 2005-10-29 19:32:20 +01:00
Makefile
setup-pci.c [PATCH] ide: add support for Netcell Revolution to pci-ide generic driver 2005-08-18 22:27:07 +02:00