clk: mediatek: Add hardware dependency
authorJean Delvare <[email protected]>
Fri, 14 Oct 2016 12:44:13 +0000 (14:44 +0200)
committerStephen Boyd <[email protected]>
Mon, 17 Oct 2016 22:22:26 +0000 (15:22 -0700)
Only propose the mediatek clock drivers on this platform, unless
build-testing.

Signed-off-by: Jean Delvare <[email protected]>
Cc: Shunli Wang <[email protected]>
Cc: James Liao <[email protected]>
Cc: Erin Lo <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Michael Turquette <[email protected]>
Reviewed-by: Matthias Brugger <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
drivers/clk/mediatek/Kconfig

index 380c372d528ec1b0ec593e00eb052547515208e8..f042bd2a6a998651481e7ca594333c3856f6d8dc 100644 (file)
@@ -8,6 +8,7 @@ config COMMON_CLK_MEDIATEK
 
 config COMMON_CLK_MT8135
        bool "Clock driver for Mediatek MT8135"
+       depends on ARCH_MEDIATEK || COMPILE_TEST
        select COMMON_CLK_MEDIATEK
        default ARCH_MEDIATEK
        ---help---
@@ -15,6 +16,7 @@ config COMMON_CLK_MT8135
 
 config COMMON_CLK_MT8173
        bool "Clock driver for Mediatek MT8173"
+       depends on ARCH_MEDIATEK || COMPILE_TEST
        select COMMON_CLK_MEDIATEK
        default ARCH_MEDIATEK
        ---help---