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://pilppa.com/gitweb/?a=commitdiff_plain;h=a7a832de9e9624bcf069a5369c3c38ba2f44d460;p=linux-2.6-omap-h63xx.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 a6f098fda88..ae5bf2be6f5 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"; }