Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030881AbbD1UZJ (ORCPT ); Tue, 28 Apr 2015 16:25:09 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:34367 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965258AbbD1UZG (ORCPT ); Tue, 28 Apr 2015 16:25:06 -0400 From: Marek Belisko To: zbr@ioremap.net Cc: linux-kernel@vger.kernel.org, hns@goldelico.com, Marek Belisko Subject: [PATCH] w1: slaves: Add dependency for W1_SLAVE_BQ27000 Date: Tue, 28 Apr 2015 22:24:53 +0200 Message-Id: <1430252693-5164-1-git-send-email-marek@goldelico.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 927 Lines: 29 bq2700 slave driver depends on bq27x00-battery driver thus adding this dependency to config. When bq2700 is build as module bq27x00-battery will be loaded automatically. Signed-off-by: Marek Belisko --- drivers/w1/slaves/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/w1/slaves/Kconfig b/drivers/w1/slaves/Kconfig index cfe74d0..15c230a 100644 --- a/drivers/w1/slaves/Kconfig +++ b/drivers/w1/slaves/Kconfig @@ -128,6 +128,7 @@ config W1_SLAVE_DS28E04 config W1_SLAVE_BQ27000 tristate "BQ27000 slave support" + depends on BATTERY_BQ27X00_PLATFORM help Say Y here if you want to use a hdq bq27000 slave support. -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/