From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932418AbbFTT20 (ORCPT ); Sat, 20 Jun 2015 15:28:26 -0400 Received: from mail1.windriver.com ([147.11.146.13]:61639 "EHLO mail1.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754393AbbFTT2R (ORCPT ); Sat, 20 Jun 2015 15:28:17 -0400 From: Paul Gortmaker To: CC: Paul Gortmaker , Magnus Damm , Simon Horman , Geert Uytterhoeven , Greg Kroah-Hartman Subject: [PATCH] staging: make board support depend on CLKDEV_LOOKUP Date: Sat, 20 Jun 2015 15:27:51 -0400 Message-ID: <1434828471-22626-1-git-send-email-paul.gortmaker@windriver.com> X-Mailer: git-send-email 2.2.1 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Building allmodconfig for arch/cris currently fails with: drivers/built-in.o: In function `board_staging_register_clock': drivers/staging/board/board.c:131: undefined reference to `clk_add_alias' make: *** [vmlinux] Error 1 The clk_add_alias lives in drivers/clk/clkdev.c and that file is only compiled for CONFIG_CLKDEV_LOOKUP, so it would seem we need to add a dependency on that. Cc: Magnus Damm Cc: Simon Horman Cc: Geert Uytterhoeven Cc: Greg Kroah-Hartman Signed-off-by: Paul Gortmaker --- drivers/staging/board/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/board/Kconfig b/drivers/staging/board/Kconfig index b8ee81840666..4ff5a795055f 100644 --- a/drivers/staging/board/Kconfig +++ b/drivers/staging/board/Kconfig @@ -1,6 +1,6 @@ config STAGING_BOARD bool "Staging Board Support" - depends on OF_ADDRESS + depends on OF_ADDRESS && CLKDEV_LOOKUP help Select to enable per-board staging support code. -- 2.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/