net: ethernet: ti: am65-cpts: fix W1 build warning
am65-cpts.c:795:6: warning: no previous prototype for ‘am65_cpts_rx_enable’ [-Wmissing-prototypes]
void am65_cpts_rx_enable(struct am65_cpts *cpts, bool en)
^~~~~~~~~~~~~~~~~~~
am65-cpts.c:810:6: warning: no previous prototype for ‘am65_cpts_tx_timestamp’ [-Wmissing-prototypes]
void am65_cpts_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb)
^~~~~~~~~~~~~~~~~~~~~~
am65-cpts.c:828:6: warning: no previous prototype for ‘am65_cpts_ask_tx_timestamp’ [-Wmissing-prototypes]
void am65_cpts_ask_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb)
^~~~~~~~~~~~~~~~~~~~~~~~~~
am65-cpts.c:845:5: warning: no previous prototype for ‘am65_cpts_phc_index’ [-Wmissing-prototypes]
int am65_cpts_phc_index(struct am65_cpts *cpts)
^~~~~~~~~~~~~~~~~~~
am65-cpts.c:942:19: warning: no previous prototype for ‘am65_cpts_create’ [-Wmissing-prototypes]
struct am65_cpts *am65_cpts_create(struct device *dev, void __iomem *regs,
am65-cpts.c:492: warning: Function parameter or member 'cpts' not described in 'am65_cpts_extts_enable_hw'
am65-cpts.c:492: warning: Function parameter or member 'index' not described in 'am65_cpts_extts_enable_hw'
am65-cpts.c:492: warning: Function parameter or member 'on' not described in 'am65_cpts_extts_enable_hw'
am65-cpts.c:532: warning: Function parameter or member 'cpts' not described in 'am65_cpts_perout_enable_hw'
am65-cpts.c:532: warning: Function parameter or member 'req' not described in 'am65_cpts_perout_enable_hw'
am65-cpts.c:532: warning: Function parameter or member 'on' not described in 'am65_cpts_perout_enable_hw'
Fixes: 496b49b6 ("net: ethernet: ti: introduce am654 common platform time sync driver")
Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by:
Sekhar Nori <nsekhar@ti.com>
Loading
Please sign in to comment