History

ptp_qoriq: export extts_clean_up() function

Export extts_clean_up() function so that dpaa2-ptp driver is able to reuse it.

Yangbo Lu committed 6 years ago

Commit 94294391 parent 10bc8772 files · +3 −2Browse files

Unified · Split

2 files
  1. drivers/ptp/ptp_qoriq.c +2 −2
  2. include/linux/fsl/ptp_qoriq.h +1 −0
drivers/ptp/ptp_qoriq.c+2−2
@@ -74,8 +74,7 @@ static void set_fipers(struct ptp_qoriq *ptp_qoriq) · 73 unmodified lines
7474 ptp_qoriq->write(&regs->fiper_regs->tmr_fiper2, ptp_qoriq->tmr_fiper2);
7575 }
7676
77−static int extts_clean_up(struct ptp_qoriq *ptp_qoriq, int index,
78− bool update_event)
77+int extts_clean_up(struct ptp_qoriq *ptp_qoriq, int index, bool update_event)
7978 {
8079 struct ptp_qoriq_registers *regs = &ptp_qoriq->regs;
8180 struct ptp_clock_event event;
@@ -121,6 +120,7 @@ static int extts_clean_up(struct ptp_qoriq *ptp_qoriq, int index, · 39 unmodified lines
121120
122121 return 0;
123122 }
123+EXPORT_SYMBOL_GPL(extts_clean_up);
124124
125125 /*
126126 * Interrupt service routine
include/linux/fsl/ptp_qoriq.h+1−0
@@ -192,6 +192,7 @@ int ptp_qoriq_settime(struct ptp_clock_info *ptp, · 191 unmodified lines
192192 const struct timespec64 *ts);
193193 int ptp_qoriq_enable(struct ptp_clock_info *ptp,
194194 struct ptp_clock_request *rq, int on);
195+int extts_clean_up(struct ptp_qoriq *ptp_qoriq, int index, bool update_event);
195196 #ifdef CONFIG_DEBUG_FS
196197 void ptp_qoriq_create_debugfs(struct ptp_qoriq *ptp_qoriq);
197198 void ptp_qoriq_remove_debugfs(struct ptp_qoriq *ptp_qoriq);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t