summaryrefslogtreecommitdiffstats
path: root/sys/dev/mmc/mmcvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mmc/mmcvar.h')
-rw-r--r--sys/dev/mmc/mmcvar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/mmc/mmcvar.h b/sys/dev/mmc/mmcvar.h
index b5c7c09..c18a25f 100644
--- a/sys/dev/mmc/mmcvar.h
+++ b/sys/dev/mmc/mmcvar.h
@@ -61,6 +61,7 @@ enum mmc_device_ivars {
MMC_IVAR_RCA,
MMC_IVAR_SECTOR_SIZE,
MMC_IVAR_TRAN_SPEED,
+ MMC_IVAR_READ_ONLY,
// MMC_IVAR_,
};
@@ -75,5 +76,6 @@ MMC_ACCESSOR(media_size, MEDIA_SIZE, int)
MMC_ACCESSOR(rca, RCA, int)
MMC_ACCESSOR(sector_size, SECTOR_SIZE, int)
MMC_ACCESSOR(tran_speed, TRAN_SPEED, int)
+MMC_ACCESSOR(read_only, READ_ONLY, int)
#endif /* DEV_MMC_MMCVAR_H */
OpenPOWER on IntegriCloud