From: Danny Kukawka Date: Tue, 10 Apr 2007 20:39:14 +0000 (+0200) Subject: ide: add "optical" to sysfs "media" attribute X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a7a832de9e9624bcf069a5369c3c38ba2f44d460;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 a6f098fda884..ae5bf2be6f52 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"; }