25 May 2013 18:54
[PATCH] ppc: remove unused devm_ioremap_prot
Kyle McMartin <kyle <at> redhat.com>
2013-05-25 16:54:25 GMT
2013-05-25 16:54:25 GMT
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 xcompiler, and it passed... no promises I didn't introduce a header mess on some random variant though. Signed-off-by: Kyle McMartin <kyle <at> redhat.com> --- a/arch/powerpc/include/asm/eeh.h +++ b/arch/powerpc/include/asm/eeh.h <at> <at> -23,6 +23,7 <at> <at> #include <linux/init.h> #include <linux/list.h> +#include <linux/mutex.h> #include <linux/string.h> struct pci_dev; diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h index dd15e5e..ab503b6 100644 --- a/arch/powerpc/include/asm/io.h +++ b/arch/powerpc/include/asm/io.h <at> <at> -24,9 +24,6 <at> <at> extern struct pci_dev *isa_bridge_pcidev; #define arch_has_dev_port() (isa_bridge_pcidev != NULL) #endif -#include <linux/device.h>(Continue reading)
RSS Feed