From patchwork Tue Oct 13 13:41:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 7385561 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E05FDBEEA4 for ; Tue, 13 Oct 2015 13:42:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1985F207FC for ; Tue, 13 Oct 2015 13:42:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 356F2201B4 for ; Tue, 13 Oct 2015 13:42:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932384AbbJMNmW (ORCPT ); Tue, 13 Oct 2015 09:42:22 -0400 Received: from lists.s-osg.org ([54.187.51.154]:51537 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932191AbbJMNmV (ORCPT ); Tue, 13 Oct 2015 09:42:21 -0400 Received: from localhost.localdomain (209.183.21.95.dynamic.jazztel.es [95.21.183.209]) by lists.s-osg.org (Postfix) with ESMTPSA id 1649B462A0; Tue, 13 Oct 2015 06:42:18 -0700 (PDT) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Luis de Bethencourt , Javier Martinez Canillas , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , linux-wireless@vger.kernel.org Subject: [PATCH] bcma: mips: Allow build if COMPILE_TEST is enabled Date: Tue, 13 Oct 2015 15:41:58 +0200 Message-Id: <1444743718-15056-1-git-send-email-javier@osg.samsung.com> X-Mailer: git-send-email 2.4.3 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This driver only has a runtime but no build time dependencies so can be built for testing purposes if the Kconfig COMPILE_TEST option is enabled. This is useful to have more build coverage and make sure that the driver is not affected by changes that could cause a build regression. Signed-off-by: Javier Martinez Canillas --- drivers/bcma/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bcma/Kconfig b/drivers/bcma/Kconfig index 023d448ed3fa..22114995dfbf 100644 --- a/drivers/bcma/Kconfig +++ b/drivers/bcma/Kconfig @@ -63,7 +63,7 @@ config BCMA_DRIVER_PCI_HOSTMODE config BCMA_DRIVER_MIPS bool "BCMA Broadcom MIPS core driver" - depends on BCMA && MIPS + depends on BCMA && (MIPS || COMPILE_TEST) help Driver for the Broadcom MIPS core attached to Broadcom specific Advanced Microcontroller Bus.