aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ide/ide-cd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index 74af7e074868..7130939c7f91 100644
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -3254,6 +3254,7 @@ int ide_cdrom_setup (ide_drive_t *drive)
3254 return 0; 3254 return 0;
3255} 3255}
3256 3256
3257#ifdef CONFIG_PROC_FS
3257static 3258static
3258sector_t ide_cdrom_capacity (ide_drive_t *drive) 3259sector_t ide_cdrom_capacity (ide_drive_t *drive)
3259{ 3260{
@@ -3264,6 +3265,7 @@ sector_t ide_cdrom_capacity (ide_drive_t *drive)
3264 3265
3265 return capacity * sectors_per_frame; 3266 return capacity * sectors_per_frame;
3266} 3267}
3268#endif
3267 3269
3268static int ide_cd_remove(struct device *dev) 3270static int ide_cd_remove(struct device *dev)
3269{ 3271{