]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
pch_gbe, ptp_pch: Fix the dependency direction between these drivers
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 16 Nov 2012 15:43:59 +0000 (15:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Nov 2012 03:11:45 +0000 (22:11 -0500)
In commit a24006ed12616bde1bbdb26868495906a212d8dc ('ptp: Enable clock
drivers along with associated net/PHY drivers') I wrongly made
PTP_1588_CLOCK_PCH depend on PCH_GBE.  The dependency is really the
other way around.  Therefore make PCH_GBE select PTP_1588_CLOCK_PCH
and remove the 'default y' from the latter.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/oki-semi/pch_gbe/Kconfig
drivers/ptp/Kconfig

index 00bc4fc968c7fa76ba3fbd18c733bc7bfb38a435..34d05bf72b2e0e403e3568d7eb2193535d8fda6c 100644 (file)
@@ -7,6 +7,7 @@ config PCH_GBE
        depends on PCI
        select NET_CORE
        select MII
+       select PTP_1588_CLOCK_PCH
        ---help---
          This is a gigabit ethernet driver for EG20T PCH.
          EG20T PCH is the platform controller hub that is used in Intel's
index 70c5836ebfc9a04d1da431cb522070acd8b13cee..1ea6f1dbbedd0323fe726b1364b930befff7df0e 100644 (file)
@@ -72,9 +72,7 @@ config DP83640_PHY
 
 config PTP_1588_CLOCK_PCH
        tristate "Intel PCH EG20T as PTP clock"
-       depends on PCH_GBE
        select PTP_1588_CLOCK
-       default y
        help
          This driver adds support for using the PCH EG20T as a PTP
          clock. The hardware supports time stamping of PTP packets