Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756071AbdCUE6Y (ORCPT ); Tue, 21 Mar 2017 00:58:24 -0400 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.231]:2270 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751552AbdCUE6W (ORCPT ); Tue, 21 Mar 2017 00:58:22 -0400 From: Jeremy Linton To: linux-kernel@vger.kernel.org Cc: broonie@kernel.org, lgirdwood@gmail.com, puck.chen@hisilicon.com, lee.jones@linaro.org, Jeremy Linton Subject: [PATCH 1/2] mfd: hi655x: Reference required regulator driver Date: Mon, 20 Mar 2017 23:53:40 -0500 Message-Id: <20170321045341.4833-2-lintonrjeremy@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170321045341.4833-1-lintonrjeremy@gmail.com> References: <20170321045341.4833-1-lintonrjeremy@gmail.com> X-RR-Connecting-IP: 107.14.168.88:25 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 865 Lines: 23 The hisi pmic requires an independent regulator driver to be loaded so that devices dependent on the pmic/regulator are started properly. Currently there is only a single compatible regulator driver in the tree, so reference it with a module soft dependency so that modprobe loads it whenever the hisi pmic driver is loaded. Signed-off-by: Jeremy Linton --- drivers/mfd/hi655x-pmic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/hi655x-pmic.c b/drivers/mfd/hi655x-pmic.c index ba706ad..56e027d 100644 --- a/drivers/mfd/hi655x-pmic.c +++ b/drivers/mfd/hi655x-pmic.c @@ -184,3 +184,4 @@ module_platform_driver(hi655x_pmic_driver); MODULE_AUTHOR("Chen Feng "); MODULE_DESCRIPTION("Hisilicon hi655x PMIC driver"); MODULE_LICENSE("GPL v2"); +MODULE_SOFTDEP("post: hi655x-regulator"); -- 2.10.2