From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751035Ab3BOFHQ (ORCPT ); Fri, 15 Feb 2013 00:07:16 -0500 Received: from mail-we0-f176.google.com ([74.125.82.176]:38333 "EHLO mail-we0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750718Ab3BOFHO (ORCPT ); Fri, 15 Feb 2013 00:07:14 -0500 MIME-Version: 1.0 In-Reply-To: <1360882071-4072668-10-git-send-email-arnd@arndb.de> References: <1360882071-4072668-1-git-send-email-arnd@arndb.de> <1360882071-4072668-10-git-send-email-arnd@arndb.de> From: Prabhakar Lad Date: Fri, 15 Feb 2013 10:36:53 +0530 Message-ID: Subject: Re: [PATCH 9/9] [media] davinci: do not include mach/hardware.h To: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, Mauro Carvalho Chehab , Tony Lindgren , linux-kernel@vger.kernel.org, "Lad, Prabhakar" , arm@kernel.org, dlos , linux-media Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, Thanks for the patch. On Fri, Feb 15, 2013 at 4:17 AM, Arnd Bergmann wrote: > It is now possible to build the davinci vpss code > on multiplatform kernels, which causes a problem > since the driver tries to incude the davinci > platform specific mach/hardware.h file. Fortunately > that file is not required at all in the driver, > so we can simply remove the #include statement. > > Without this patch, building allyesconfig results in: > > drivers/media/platform/davinci/vpss.c:28:27: fatal error: mach/hardware.h: No such file or directory > compilation terminated. > > Signed-off-by: Arnd Bergmann > Cc: Mauro Carvalho Chehab > Cc: "Lad, Prabhakar" > Cc: Tony Lindgren Acked-by: Lad, Prabhakar Regards, --Prabhakar > --- > drivers/media/platform/davinci/vpss.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/media/platform/davinci/vpss.c b/drivers/media/platform/davinci/vpss.c > index 494d322..a19c552 100644 > --- a/drivers/media/platform/davinci/vpss.c > +++ b/drivers/media/platform/davinci/vpss.c > @@ -25,7 +25,6 @@ > #include > #include > #include > -#include > #include > > MODULE_LICENSE("GPL"); > -- > 1.8.1.2 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 From: prabhakar.csengg@gmail.com (Prabhakar Lad) Date: Fri, 15 Feb 2013 10:36:53 +0530 Subject: [PATCH 9/9] [media] davinci: do not include mach/hardware.h In-Reply-To: <1360882071-4072668-10-git-send-email-arnd@arndb.de> References: <1360882071-4072668-1-git-send-email-arnd@arndb.de> <1360882071-4072668-10-git-send-email-arnd@arndb.de> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Arnd, Thanks for the patch. On Fri, Feb 15, 2013 at 4:17 AM, Arnd Bergmann wrote: > It is now possible to build the davinci vpss code > on multiplatform kernels, which causes a problem > since the driver tries to incude the davinci > platform specific mach/hardware.h file. Fortunately > that file is not required at all in the driver, > so we can simply remove the #include statement. > > Without this patch, building allyesconfig results in: > > drivers/media/platform/davinci/vpss.c:28:27: fatal error: mach/hardware.h: No such file or directory > compilation terminated. > > Signed-off-by: Arnd Bergmann > Cc: Mauro Carvalho Chehab > Cc: "Lad, Prabhakar" > Cc: Tony Lindgren Acked-by: Lad, Prabhakar Regards, --Prabhakar > --- > drivers/media/platform/davinci/vpss.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/media/platform/davinci/vpss.c b/drivers/media/platform/davinci/vpss.c > index 494d322..a19c552 100644 > --- a/drivers/media/platform/davinci/vpss.c > +++ b/drivers/media/platform/davinci/vpss.c > @@ -25,7 +25,6 @@ > #include > #include > #include > -#include > #include > > MODULE_LICENSE("GPL"); > -- > 1.8.1.2 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel