From patchwork Wed Jul 18 06:41:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "AnilKumar, Chimata" X-Patchwork-Id: 1209101 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id ADF663FCFC for ; Wed, 18 Jul 2012 06:42:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751322Ab2GRGl6 (ORCPT ); Wed, 18 Jul 2012 02:41:58 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:55729 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750850Ab2GRGl4 (ORCPT ); Wed, 18 Jul 2012 02:41:56 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id q6I6fllu025608; Wed, 18 Jul 2012 01:41:48 -0500 Received: from DBDE70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id q6I6fiDw008947; Wed, 18 Jul 2012 12:11:45 +0530 (IST) Received: from dbdp32.itg.ti.com (172.24.170.251) by dbde70.ent.ti.com (172.24.170.148) with Microsoft SMTP Server id 14.1.323.3; Wed, 18 Jul 2012 12:11:44 +0530 Received: from localhost.localdomain (dbdp20.itg.ti.com [172.24.170.38]) by dbdp32.itg.ti.com (8.13.8/8.13.8) with ESMTP id q6I6fe6V014485; Wed, 18 Jul 2012 12:11:41 +0530 From: AnilKumar Ch To: CC: , , , , , , AnilKumar Ch Subject: [PATCH] regulator: tps65217: fix build error if REGULATOR is not enabled Date: Wed, 18 Jul 2012 12:11:03 +0530 Message-ID: <1342593663-23938-1-git-send-email-anilkumar@ti.com> X-Mailer: git-send-email 1.7.0.4 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Fixes below build error if CONFIG_REGULATOR is not enabled. drivers/built-in.o: In function `tps65217_probe': tps65217.c:(.devinit.text+0x13e37): undefined reference to `of_regulator_match' Signed-off-by: AnilKumar Ch --- drivers/mfd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index e129c82..01c929a 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -159,6 +159,7 @@ config TPS6507X config MFD_TPS65217 tristate "TPS65217 Power Management / White LED chips" depends on I2C + depends on REGULATOR select MFD_CORE select REGMAP_I2C help