Commit 4e5f9ef380b00871995d638c03e7ae7c67244e31

Authored by David S. Miller
1 parent df568d8e52

pch_gbe: 'select' NET_PTP_CLASSIFY.

Fixes the following randconfig build failure:

> drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c: In function
> ‘pch_ptp_match’:
> drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c:130:2: error:
> implicit declaration of function ‘ptp_classify_raw’
> [-Werror=implicit-function-declaration]
>   if (ptp_classify_raw(skb) == PTP_CLASS_NONE)
>   ^
> cc1: some warnings being treated as errors
> make[5]: *** [drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.o] Error 1

Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/net/ethernet/oki-semi/pch_gbe/Kconfig
... ... @@ -7,6 +7,7 @@
7 7 depends on PCI && (X86_32 || COMPILE_TEST)
8 8 select MII
9 9 select PTP_1588_CLOCK_PCH
  10 + select NET_PTP_CLASSIFY
10 11 ---help---
11 12 This is a gigabit ethernet driver for EG20T PCH.
12 13 EG20T PCH is the platform controller hub that is used in Intel's