From patchwork Wed May 27 12:31:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 6489751 Return-Path: X-Original-To: patchwork-linux-arm@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 DFE77C0020 for ; Wed, 27 May 2015 12:34:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 05EA0206A9 for ; Wed, 27 May 2015 12:34:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2D84F20685 for ; Wed, 27 May 2015 12:34:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YxaV8-0001Zy-H7; Wed, 27 May 2015 12:32:02 +0000 Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YxaUx-0001Wz-Lk; Wed, 27 May 2015 12:31:59 +0000 Received: by wgez8 with SMTP id z8so8145993wge.0; Wed, 27 May 2015 05:31:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=hPRaKcwgb35g5mwxX5kK5DOCthFGKTAYdgPOkztbPOs=; b=yaxeTZAPQGQUB4Km9rvOhgkC2svahr2gJ2NTzMk5mj88qvdIVC3E5In6XP+Ul3D8e9 Q2/zjWxxovcvmgyGRtkG1+4gzHf2iIDTmby81gMwn5keZiK35WevTdKJNGwR1m0R1XC/ TxwJBVajUJow/auFQM53IV0Dc0q4uzYojzRdCWbg2fyifTPydOW2C8RBUjjBWJG6Y9uY vVXJ6Q70jsjzUOYan3v1uC3+C17OEYnPVj73SbqvAPDG2gaseu4nCeuzcdUf03x5FEAj hR0qS7J27aRxZhe2WixNIBartOsFRUbQz2Dz9MB0MJ59wby1JF1y/WU+TvOPZr6clXrT qyMg== X-Received: by 10.194.248.227 with SMTP id yp3mr16435181wjc.32.1432729888542; Wed, 27 May 2015 05:31:28 -0700 (PDT) Received: from localhost.localdomain (225.91.135.37.dynamic.jazztel.es. [37.135.91.225]) by mx.google.com with ESMTPSA id di7sm3425847wib.23.2015.05.27.05.31.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 May 2015 05:31:27 -0700 (PDT) From: Matthias Brugger To: matthias.bgg@gmail.com, s.hauer@pengutronix.de, flora.fu@mediatek.com Subject: [PATCH] soc: mediatek: Add compile dependency to pmic-wrapper Date: Wed, 27 May 2015 14:31:05 +0200 Message-Id: <1432729865-32319-1-git-send-email-matthias.bgg@gmail.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150527_053151_876974_F8506609 X-CRM114-Status: UNSURE ( 8.75 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, 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 The pmic-wrapper calls the reset controller. If CONFIG_RESET_CONTROLLER is not set, compilation fails with: drivers/soc/mediatek/mtk-pmic-wrap.c: In function ‘pwrap_probe’: drivers/soc/mediatek/mtk-pmic-wrap.c:836:2: error: implicit declaration of function ‘devm_reset_control_get’ [-Werror=implicit-function-declaration] This patch sets the dependency in the Kconfig file. Signed-off-by: Matthias Brugger --- drivers/soc/mediatek/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig index bcdb22d..3c18503 100644 --- a/drivers/soc/mediatek/Kconfig +++ b/drivers/soc/mediatek/Kconfig @@ -4,6 +4,7 @@ config MTK_PMIC_WRAP tristate "MediaTek PMIC Wrapper Support" depends on ARCH_MEDIATEK + depends on RESET_CONTROLLER select REGMAP help Say yes here to add support for MediaTek PMIC Wrapper found