mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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: Andrew Lunn <andrew@lunn.ch> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e0f9759f53
commit
052fddfb3c
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user