ide: add "optical" to sysfs "media" attribute
PATCH 1/1 ide: add "optical" to sysfs "media" attribute
From: Danny Kukawka <[email protected]>
Subject: ide: add "optical" to sysfs "media" attribute
Add "optical" to sysfs "media" attribute as already in /proc
Signed-off-by Danny Kukawka <[email protected]>
drivers/ide/ide.c +2 -0
@@ -1952,6 +1952,8 @@return "tape" ;case ide_floppy:return "floppy" ; +case ide_optical: +return "optical" ;default :return "UNKNOWN" ; }
Bartlomiej Zolnierkiewicz
AppliedQuoted 3 lines · Danny Kukawka
Add "optical" to sysfs "media" attribute as already in /proc
Signed-off-by Danny Kukawka <[email protected]>
applied