aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Gibellini <gibellini.roberto@gmail.com>2016-05-27 02:34:15 -0700
committerRoberto Gibellini <gibellini.roberto@gmail.com>2016-05-27 02:34:15 -0700
commit9ed4ef902d589d7b112b0b8d26373c4384a85c21 (patch)
tree345a0064c6ee9171803a2c1a70a163e2ef713017
parent25e56ac917a9c8ace9d03d29e1e6ff9a54beb54d (diff)
downloadkernel_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.h11
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 *);