From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mundt Subject: Re: [PATCH] PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. Date: Mon, 13 Jun 2011 13:24:10 +0900 Message-ID: <20110613042410.GB29731@linux-sh.org> References: <20110610143021.GA26043@linux-mips.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20110610143021.GA26043@linux-mips.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Ralf Baechle Cc: linux-mips@linux-mips.org, linux-sh@vger.kernel.org, linux-pci@vger.kernel.org, Anton Vorontsov , Jesse Barnes , "H. Peter Anvin" , sparclinux@vger.kernel.org, Guan Xuetao , Lennert Buytenhek , Russell King , x86@kernel.org, Ingo Molnar , Matt Turner , linux-alpha@vger.kernel.org, Chris Metcalf , Ivan Kokshaysky , linux-tegra@vger.kernel.org, Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Richard Henderson , Eric Miao , Erik Gilling , Nicolas Pitre , linux-kernel@vger.kernel.org, Colin Cross , Olof Johansson , Andr List-Id: linux-tegra@vger.kernel.org On Fri, Jun 10, 2011 at 03:30:21PM +0100, Ralf Baechle wrote: > Aside of the usual motivation for constification, this function has a > history of being abused a hook for interrupt and other fixups so I turned > this function const ages ago in the MIPS code but it should be done > treewide. > > Due to function pointer passing in varous places a few other functions > had to be constified as well. > > Signed-off-by: Ralf Baechle Acked-by: Paul Mundt