From: Danny Kukawka Date: Tue, 10 Apr 2007 20:39:14 +0000 (+0200) Subject: ide: add "optical" to sysfs "media" attribute X-Git-Tag: v2.6.21-rc7~31^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7a832de9e9624bcf069a5369c3c38ba2f44d460;p=platform%2Fkernel%2Flinux-3.10.git ide: add "optical" to sysfs "media" attribute Add "optical" to sysfs "media" attribute as already in /proc Signed-off-by: Danny Kukawka Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index a6f098f..ae5bf2b 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c @@ -1962,6 +1962,8 @@ static char *media_string(ide_drive_t *drive) return "tape"; case ide_floppy: return "floppy"; + case ide_optical: + return "optical"; default: return "UNKNOWN"; }