Thread (7 messages) flat view 7 messages, 4 authors, 2013-03-21

Re: [PATCH] fec: Unify fec_ptp.c and fec.c

From: Richard Cochran <richardcochran@gmail.com>
Date: 2013-03-21 09:46:56

On Wed, Mar 20, 2013 at 05:11:07PM -0300, Fabio Estevam wrote:
Move fec_ptp.c code into fec.c and its definitions into fec.h.
...
+/**
+ * fec_ptp_start_cyclecounter - create the cycle counter from hw
+ * @ndev: network device
+ *
+ * this function initializes the timecounter and cyclecounter
+ * structures for use in generated a ns counter from the arbitrary
+ * fixed point cycles registers in the hardware.
+ */
+void fec_ptp_start_cyclecounter(struct net_device *ndev)
+{
This function and the other, previously global functions should now be
changed to 'static'.

Thanks,
Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help