Re: [PATCH] ppc: remove unused devm_ioremap_prot

2013-05-26 Thread Kyle McMartin
On Sun, May 26, 2013 at 08:44:35AM +1000, Benjamin Herrenschmidt wrote: > It's not used ... yet. It's needed if we ever are to implement > something like devm_ioremap_wc(). I suspect if things like framebuffer > or even IB drivers start using devm this will be needed. > > Any specific reason why y

[PATCH] ppc: remove unused devm_ioremap_prot

2013-05-25 Thread Kyle McMartin
Added in 2008, but has never had any in-tree users, and no other architectures provide it. Also remove the header includes that the commit b41e5fff added to asm/io.h, and add an include of mutex.h for asm/eeh.h, which relied on io.h including device.h to provide it. Tested ppc64_defconfig in an xc

Re: [PATCH] ppc: remove unused devm_ioremap_prot

2013-05-25 Thread Benjamin Herrenschmidt
On Sat, 2013-05-25 at 12:54 -0400, Kyle McMartin wrote: > Added in 2008, but has never had any in-tree users, and no other > architectures provide it. Also remove the header includes that > the commit b41e5fff added to asm/io.h, and add an include of mutex.h > for asm/eeh.h, which relied on io.h in