Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751731Ab3CNUEh (ORCPT ); Thu, 14 Mar 2013 16:04:37 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:55509 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750932Ab3CNUEf (ORCPT ); Thu, 14 Mar 2013 16:04:35 -0400 Date: Thu, 14 Mar 2013 21:04:31 +0100 From: Thierry Reding To: Hiroshi Doyu Cc: Russell King , linux-tegra@vger.kernel.org, Stephen Warren , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] amba: tegra-ahb: Fix build error w/ PM_SLEEP w/o PM_RUNTIME Message-ID: <20130314200431.GA4252@avionic-0098.mockup.avionic-design.de> References: <1363252089-4120-1-git-send-email-hdoyu@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: <1363252089-4120-1-git-send-email-hdoyu@nvidia.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Provags-ID: V02:K0:5JeeKzcRDx/fsY5+5AFFhWaGRBNS5/8DWex2BpPI8YS QETRc1GKKXAHYh2i1p3n7tk6MGROWL9XGr1uaBTkEvt2xwpHwq oqM2TOF7Q18tcxLPz4ntLoR5fx7i+OlGHAMCferOnMXRyKRdjs srhZ2oOipA2uju+1mA+qF9WCotfYnGzSe2ImE9+AQxKBQbSQ1a 29ySvjcyrfuZv4FyL9O7gNMv/S9cRk3r2i1d5nJKOguK3xRbFP BDRbQ61FqeeSCwOVne9IX7/zj6COQk1uUA7bqwrEpttLwdU7A7 SUk3ZgMZYzdd1OJKC2Gzx/1EB6O70RIYZ7dbvV/sgFKFl9EyrB DmT6ENvREk9KCdMWvSZCVM6aDHjE7fRWGLj1I8NBds08tuBzPU 8MHzGpjn4LI2FbpCkEp0s4KrqLWgL1cM2I= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2276 Lines: 61 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 14, 2013 at 11:08:09AM +0200, Hiroshi Doyu wrote: > Make this depend on CONFIG_PM. This protection is necessary to not > cause any build errors with any combination of PM features especially > when supporting a new SoC where each PM features are being enabled > one-by-one during its depelopment. >=20 > Signed-off-by: Hiroshi Doyu > Reported-by: Joseph Lo > --- > drivers/amba/tegra-ahb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/amba/tegra-ahb.c b/drivers/amba/tegra-ahb.c > index 093c435..1f44e56 100644 > --- a/drivers/amba/tegra-ahb.c > +++ b/drivers/amba/tegra-ahb.c > @@ -158,7 +158,7 @@ int tegra_ahb_enable_smmu(struct device_node *dn) > EXPORT_SYMBOL(tegra_ahb_enable_smmu); > #endif > =20 > -#ifdef CONFIG_PM_SLEEP > +#ifdef CONFIG_PM > static int tegra_ahb_suspend(struct device *dev) > { > int i; Reviewed-by: Thierry Reding --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQIcBAEBAgAGBQJRQi1PAAoJEN0jrNd/PrOhzSwP/0Bu6vkT3+bMYMYAA+UJb5pp 17Gy+fjaFVt/H9lTLOqjGSw2DSKylu8DyT9parMh7g7QQu5rqJbcvrybyV+noISc TBnNiV5bHs8T/hs3E4xZec4sAs++H7c7nU0q9bWHPl6CX8+8rbC2OTmnvjW3CrIE VRWAnQmKCgWF+LYBFZ+7OJCBKYrTPDZ/l6p9Wn8Fi7Et8KyFRZvgBnG8XDSrWBgp nVWaLg7tDeEuwKyDCazPXDjfmUAnyKrYvAgtcZALNR6w2mAwBlF1nToeKGkJ9h0J IfGaJBaYvtBcdvYS5in+MGUdkglX5NRQG03ntSD/jVcBagP1rOFZrNSQrpFIB8ep 6TLN+4E+MRVZjcnxILHLl6zfFC0/+ZnYVsTbBb6ZWZElYPH5e+MveXMfThpWjmrG gSBnR7GSCXuBhP3f3dW8EQnbshIWjL2nKWfZWIXARGfhJ5nCbTEAfbtwwUUY08RU DHiED384N73tQjcNZZqIk1NZGph6uxBBhLcd5NFp1ybkTjg5Zv1n0uOskIR1YVKV IO/4PAF7iArJl+5WcQtyzM64Qw0JqzHIKjOlNvilyYkkGVtQGDiAzLjLPFtiKJXC ywsP6u+dZwawWVJ3b7rDo8Dib2aBBRx3HXao1a1ezbRRLHDGb/LXhc5mPTKRIvHQ XasHBlXeVd/P60NWeRnS =ilpT -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI-- -- 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/