diff options
author | Roberto Gibellini <gibellini.roberto@gmail.com> | 2016-05-27 02:34:15 -0700 |
---|---|---|
committer | Roberto Gibellini <gibellini.roberto@gmail.com> | 2016-05-27 02:34:15 -0700 |
commit | 9ed4ef902d589d7b112b0b8d26373c4384a85c21 (patch) | |
tree | 345a0064c6ee9171803a2c1a70a163e2ef713017 | |
parent | 25e56ac917a9c8ace9d03d29e1e6ff9a54beb54d (diff) | |
download | kernel_samsung_smdk4412-9ed4ef902d589d7b112b0b8d26373c4384a85c21.zip kernel_samsung_smdk4412-9ed4ef902d589d7b112b0b8d26373c4384a85c21.tar.gz kernel_samsung_smdk4412-9ed4ef902d589d7b112b0b8d26373c4384a85c21.tar.bz2 |
Revert "smdk4412 : function moved to modem.h"
This reverts commit 25e56ac917a9c8ace9d03d29e1e6ff9a54beb54d.
Change-Id: Ied9388c7dc7e1b9c0845fb18012eb58057bc7865
-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 *); |