Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753505AbWLWLku (ORCPT ); Sat, 23 Dec 2006 06:40:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753526AbWLWLku (ORCPT ); Sat, 23 Dec 2006 06:40:50 -0500 Received: from caramon.arm.linux.org.uk ([217.147.92.249]:3839 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753505AbWLWLkt (ORCPT ); Sat, 23 Dec 2006 06:40:49 -0500 Date: Sat, 23 Dec 2006 11:40:37 +0000 From: Russell King To: Arnaud Patard Cc: David Brownell , Linux Kernel list , Andrew Morton , Andrew Victor , Bill Gatliff , Haavard Skinnemoen , jamey.hicks@hp.com, Kevin Hilman , Nicolas Pitre , Tony Lindgren , pHilipp Zabel , Ben Dooks Subject: Re: [patch 2.6.20-rc1 6/6] S3C2410 GPIO wrappers Message-ID: <20061223114037.GB28306@flint.arm.linux.org.uk> Mail-Followup-To: Arnaud Patard , David Brownell , Linux Kernel list , Andrew Morton , Andrew Victor , Bill Gatliff , Haavard Skinnemoen , jamey.hicks@hp.com, Kevin Hilman , Nicolas Pitre , Tony Lindgren , pHilipp Zabel , Ben Dooks References: <200611111541.34699.david-b@pacbell.net> <200612201304.03912.david-b@pacbell.net> <200612201314.19905.david-b@pacbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 869 Lines: 24 On Thu, Dec 21, 2006 at 11:33:11AM +0100, Arnaud Patard wrote: > > +#include > > imho, this is not needed. The user who will use irq will add it in his > code anyway. > > > +#include This is a pet peave. _NO_ drivers should include either of these two headers directly. Use asm/irq.h and asm/hardware.h instead. Audit your code to ensure that you're including the right headers please. I can see that I've got to do another sweep of the entire kernel code to fix all these again. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: - 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/