Message ID | 1526641611-2769-3-git-send-email-geert+renesas@glider.be (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, May 18, 2018 at 01:06:51PM +0200, Geert Uytterhoeven wrote: > SuperH doesn't implement arch_setup_pdev_archdata(), and falls back to > the default (empty) implementation. As this code is board-specific, the > call can just be removed. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index 271dfc260e8281f6..8cc09f3d03689e0d 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c @@ -603,7 +603,6 @@ static int __init migor_devices_setup(void) /* Initialize CEU platform device separately to map memory first */ device_initialize(&migor_ceu_device.dev); - arch_setup_pdev_archdata(&migor_ceu_device); dma_declare_coherent_memory(&migor_ceu_device.dev, ceu_dma_membase, ceu_dma_membase, ceu_dma_membase + CEU_BUFFER_MEMORY_SIZE - 1,
SuperH doesn't implement arch_setup_pdev_archdata(), and falls back to the default (empty) implementation. As this code is board-specific, the call can just be removed. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- arch/sh/boards/mach-migor/setup.c | 1 - 1 file changed, 1 deletion(-)