aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2019-12-12 18:08:05 +0800
committerDavid S. Miller <davem@davemloft.net>2019-12-16 15:56:41 -0800
commit9429439f59cd3b82a3e2732ead5363578de97a84 (patch)
treef704f15cdc7c8c6b8c5945f1665ad03fcef68ec5 /include/linux
parentptp_qoriq: check valid status before reading extts fifo (diff)
downloadlinux-dev-9429439f59cd3b82a3e2732ead5363578de97a84.tar.xz
linux-dev-9429439f59cd3b82a3e2732ead5363578de97a84.zip
ptp_qoriq: export extts_clean_up() function
Export extts_clean_up() function so that dpaa2-ptp driver is able to reuse it. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fsl/ptp_qoriq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fsl/ptp_qoriq.h b/include/linux/fsl/ptp_qoriq.h
index 992bf9fa1729..b0b743563f43 100644
--- a/include/linux/fsl/ptp_qoriq.h
+++ b/include/linux/fsl/ptp_qoriq.h
@@ -192,6 +192,7 @@ int ptp_qoriq_settime(struct ptp_clock_info *ptp,
const struct timespec64 *ts);
int ptp_qoriq_enable(struct ptp_clock_info *ptp,
struct ptp_clock_request *rq, int on);
+int extts_clean_up(struct ptp_qoriq *ptp_qoriq, int index, bool update_event);
#ifdef CONFIG_DEBUG_FS
void ptp_qoriq_create_debugfs(struct ptp_qoriq *ptp_qoriq);
void ptp_qoriq_remove_debugfs(struct ptp_qoriq *ptp_qoriq);