diff options
-rw-r--r-- | drivers/ide/ide-cd.c | 2 |
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 | ||
3257 | static | 3258 | static |
3258 | sector_t ide_cdrom_capacity (ide_drive_t *drive) | 3259 | sector_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 | ||
3268 | static int ide_cd_remove(struct device *dev) | 3270 | static int ide_cd_remove(struct device *dev) |
3269 | { | 3271 | { |