Fixed compilation error related to dev_attr_ro in storage_common

Change-Id: I3337cc868513ce7a871dec9e31f1eb3a30739ef3