port: Make port_capable() accessible outside port.c
Make sure port_capable() can be accessed by the signaling construct in port_signaling.c Signed-off-by: Vedang Patel <vedang.patel@intel.com>master
parent
b59a739d0f
commit
705e5a32fa
3
port.c
3
port.c
|
@ -55,7 +55,6 @@ enum syfu_event {
|
||||||
FUP_MATCH,
|
FUP_MATCH,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int port_capable(struct port *p);
|
|
||||||
static int port_is_ieee8021as(struct port *p);
|
static int port_is_ieee8021as(struct port *p);
|
||||||
static void port_nrate_initialize(struct port *p);
|
static void port_nrate_initialize(struct port *p);
|
||||||
|
|
||||||
|
@ -602,7 +601,7 @@ static int peer_prepare_and_send(struct port *p, struct ptp_message *msg,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int port_capable(struct port *p)
|
int port_capable(struct port *p)
|
||||||
{
|
{
|
||||||
if (!port_is_ieee8021as(p)) {
|
if (!port_is_ieee8021as(p)) {
|
||||||
/* Normal 1588 ports are always capable. */
|
/* Normal 1588 ports are always capable. */
|
||||||
|
|
|
@ -157,6 +157,7 @@ void delay_req_prune(struct port *p);
|
||||||
void fc_clear(struct foreign_clock *fc);
|
void fc_clear(struct foreign_clock *fc);
|
||||||
void flush_delay_req(struct port *p);
|
void flush_delay_req(struct port *p);
|
||||||
void flush_last_sync(struct port *p);
|
void flush_last_sync(struct port *p);
|
||||||
|
int port_capable(struct port *p);
|
||||||
int port_clr_tmo(int fd);
|
int port_clr_tmo(int fd);
|
||||||
int port_delay_request(struct port *p);
|
int port_delay_request(struct port *p);
|
||||||
void port_disable(struct port *p);
|
void port_disable(struct port *p);
|
||||||
|
|
Loading…
Reference in New Issue