diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-05-25 11:37:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-25 12:45:47 -0400 |
commit | 916c0c4b83de4ef523d68204cc435d6769c5ff8f (patch) | |
tree | cb9f518503100371bcdae740da73ea236b381561 | |
parent | 979eb0c96be97ddefc46cf8659741cf3ffc54fd2 (diff) |
staging: fsl-dpaa2/rtc: fix PTP dependency
We can't select PTP_1588_CLOCK when posix timers are completely
disabled:
WARNING: unmet direct dependencies detected for PTP_1588_CLOCK
Depends on [n]: NET [=y] && POSIX_TIMERS [=n]
Selected by [y]:
- FSL_DPAA2_PTP_CLOCK [=y] && STAGING [=y] && FSL_DPAA2_ETH [=y]
This adds the necessary dependency.
Fixes: 9bdf43b3d40f ("staging: fsl-dpaa2/rtc: add rtc driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/fsl-dpaa2/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fsl-dpaa2/Kconfig b/drivers/staging/fsl-dpaa2/Kconfig index cad016aee3b5..a4c4b83ddc9c 100644 --- a/drivers/staging/fsl-dpaa2/Kconfig +++ b/drivers/staging/fsl-dpaa2/Kconfig | |||
@@ -27,7 +27,7 @@ config FSL_DPAA2_ETHSW | |||
27 | 27 | ||
28 | config FSL_DPAA2_PTP_CLOCK | 28 | config FSL_DPAA2_PTP_CLOCK |
29 | tristate "Freescale DPAA2 PTP Clock" | 29 | tristate "Freescale DPAA2 PTP Clock" |
30 | depends on FSL_DPAA2_ETH | 30 | depends on FSL_DPAA2_ETH && POSIX_TIMERS |
31 | select PTP_1588_CLOCK | 31 | select PTP_1588_CLOCK |
32 | help | 32 | help |
33 | This driver adds support for using the DPAA2 1588 timer module | 33 | This driver adds support for using the DPAA2 1588 timer module |