summaryrefslogtreecommitdiffstats
path: root/sys/dev/mmc/mmcvar.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-10-02 07:06:59 +0000
committerimp <imp@FreeBSD.org>2008-10-02 07:06:59 +0000
commit97389cb928ffca7d653c1f4ea018250eea64079b (patch)
treef0628f749027058b9a61d19f899475d975689fc4 /sys/dev/mmc/mmcvar.h
parentfa4528e966e99bf0a083fd49cdb060b34bb8804a (diff)
downloadFreeBSD-src-97389cb928ffca7d653c1f4ea018250eea64079b.zip
FreeBSD-src-97389cb928ffca7d653c1f4ea018250eea64079b.tar.gz
Define and use MMC_SECTOR_SIZE.
Make mmc_get_media_size now return an off_t and remove now useless cast.
Diffstat (limited to 'sys/dev/mmc/mmcvar.h')
-rw-r--r--sys/dev/mmc/mmcvar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mmc/mmcvar.h b/sys/dev/mmc/mmcvar.h
index c18a25f..971add1 100644
--- a/sys/dev/mmc/mmcvar.h
+++ b/sys/dev/mmc/mmcvar.h
@@ -72,7 +72,7 @@ enum mmc_device_ivars {
__BUS_ACCESSOR(mmc, var, MMC, ivar, type)
MMC_ACCESSOR(dsr_imp, DSR_IMP, int)
-MMC_ACCESSOR(media_size, MEDIA_SIZE, int)
+MMC_ACCESSOR(media_size, MEDIA_SIZE, off_t)
MMC_ACCESSOR(rca, RCA, int)
MMC_ACCESSOR(sector_size, SECTOR_SIZE, int)
MMC_ACCESSOR(tran_speed, TRAN_SPEED, int)
OpenPOWER on IntegriCloud