diff options
Diffstat (limited to 'drivers/misc/modem_if_u1/modem_utils.h')
-rw-r--r-- | drivers/misc/modem_if_u1/modem_utils.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/misc/modem_if_u1/modem_utils.h b/drivers/misc/modem_if_u1/modem_utils.h index b9b79c4..219e059 100644 --- a/drivers/misc/modem_if_u1/modem_utils.h +++ b/drivers/misc/modem_if_u1/modem_utils.h @@ -98,7 +98,18 @@ struct mif_time_block { char buff[MAX_TIM_LOG_SIZE]; }; +struct utc_time { + u16 year; + u8 mon:4, + day:4; + u8 hour; + u8 min; + u8 sec; + u16 msec; +} __packed; + void ts2utc(struct timespec *ts, struct utc_time *utc); +void get_utc_time(struct utc_time *utc); int mif_dump_dpram(struct io_device *); int mif_dump_log(struct modem_shared *, struct io_device *); |