From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH] drivers: of: fix build break if asm/dma-contiguous.h is missing Date: Tue, 10 Sep 2013 14:45:19 -0500 Message-ID: <522F76CF.6080907@gmail.com> References: <1378804400-31716-1-git-send-email-m.szyprowski@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1378804400-31716-1-git-send-email-m.szyprowski@samsung.com> Sender: linux-kernel-owner@vger.kernel.org To: Marek Szyprowski Cc: linux-kernel@vger.kernel.org, linaro-mm-sig@lists.linaro.org, devicetree@vger.kernel.org, Kyungmin Park , Arnd Bergmann , Michal Nazarewicz , Grant Likely , Tomasz Figa , Sylwester Nawrocki , Sascha Hauer , Laura Abbott , Olof Johansson , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Tomasz Figa , Kumar Gala , Nishanth Peethambaran , Marc , Guenter Roeck List-Id: devicetree@vger.kernel.org On 09/10/2013 04:13 AM, Marek Szyprowski wrote: > It is not needed to include asm/dma-contiguous.h header to compile > reserved memory initialization code, so remove it to avoid build break > on architectures without CMA support. > > Signed-off-by: Marek Szyprowski Acked-by: Rob Herring I can apply this or it can go with other CMA stuff. Aren't there also some comments from Grant to address as well? Rob > --- > drivers/of/of_reserved_mem.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c > index a754b84..0fe40c7 100644 > --- a/drivers/of/of_reserved_mem.c > +++ b/drivers/of/of_reserved_mem.c > @@ -11,8 +11,6 @@ > * License or (at your optional) any later version of the license. > */ > > -#include > - > #include > #include > #include >