Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 052fddfb authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller
Browse files

net: ptp: Add stub for ptp_classify_raw()



When NET_PTP_CLASSIFY is disabled, a stub function is required in
order that the drivers compile.

Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Acked-by: default avatarRichard Cochran <richardcochran@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e0f9759f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -75,5 +75,9 @@ void __init ptp_classifier_init(void);
static inline void ptp_classifier_init(void)
{
}
static inline unsigned int ptp_classify_raw(struct sk_buff *skb)
{
	return PTP_CLASS_NONE;
}
#endif
#endif /* _PTP_CLASSIFY_H_ */